clang-tools 20.0.0git
Namespaces | Functions
Aliasing.cpp File Reference
#include "Aliasing.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 
namespace  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.
 
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.
 
static bool clang::tidy::utils::hasPtrOrReferenceInStmt (const Stmt *S, const VarDecl *Var)
 Return whether Var has a pointer or reference in S.
 
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.