clang-tools  3.9.0
Namespaces | Functions
DeclRefExprUtils.cpp File Reference
#include "DeclRefExprUtils.h"
#include "Matchers.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
Include dependency graph for DeclRefExprUtils.cpp:

Go to the source code of this file.

Namespaces

 clang
 -rename
 
 clang::tidy
 
 clang::tidy::utils
 
 clang::tidy::utils::decl_ref_expr
 

Functions

SmallPtrSet< const DeclRefExpr *, 16 > clang::tidy::utils::decl_ref_expr::constReferenceDeclRefExprs (const VarDecl &VarDecl, const Stmt &Stmt, ASTContext &Context)
 
bool clang::tidy::utils::decl_ref_expr::isOnlyUsedAsConst (const VarDecl &Var, const Stmt &Stmt, ASTContext &Context)
 Returns true if all DeclRefExpr to the variable within Stmt do not modify it. More...
 
SmallPtrSet< const DeclRefExpr *, 16 > clang::tidy::utils::decl_ref_expr::allDeclRefExprs (const VarDecl &VarDecl, const Stmt &Stmt, ASTContext &Context)
 
bool clang::tidy::utils::decl_ref_expr::isCopyConstructorArgument (const DeclRefExpr &DeclRef, const Stmt &Stmt, ASTContext &Context)
 
bool clang::tidy::utils::decl_ref_expr::isCopyAssignmentArgument (const DeclRefExpr &DeclRef, const Stmt &Stmt, ASTContext &Context)