clang-tools  15.0.0git
Namespaces | Functions
Aliasing.cpp File Reference
#include "Aliasing.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
Include dependency graph for Aliasing.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::tidy
 
 clang::tidy::utils
 

Functions

static bool clang::tidy::utils::isAccessForVar (const Stmt *S, const VarDecl *Var)
 Return whether S is a reference to the declaration of Var. More...
 
static bool clang::tidy::utils::capturesByRef (const CXXRecordDecl *RD, const VarDecl *Var)
 
static bool clang::tidy::utils::isPtrOrReferenceForVar (const Stmt *S, const VarDecl *Var)
 Return whether Var has a pointer or reference in S. More...
 
static bool clang::tidy::utils::hasPtrOrReferenceInStmt (const Stmt *S, const VarDecl *Var)
 Return whether Var has a pointer or reference in S. More...
 
static bool clang::tidy::utils::refersToEnclosingLambdaCaptureByRef (const Decl *Func, const VarDecl *Var)
 
bool clang::tidy::utils::hasPtrOrReferenceInFunc (const Decl *Func, const VarDecl *Var)
 Returns whether Var has a pointer or reference in Func. More...