|
clang-tools 22.0.0git
|
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 ValueDecl *Var) |
Return whether S is a reference to the declaration of Var. | |
| static bool | clang::tidy::utils::capturesByRef (const CXXRecordDecl *RD, const ValueDecl *Var) |
| static bool | clang::tidy::utils::isPtrOrReferenceForVar (const Stmt *S, const ValueDecl *Var) |
Return whether Var has a pointer or reference in S. | |
| static bool | clang::tidy::utils::hasPtrOrReferenceInStmt (const Stmt *S, const ValueDecl *Var) |
Return whether Var has a pointer or reference in S. | |
| static bool | clang::tidy::utils::refersToEnclosingLambdaCaptureByRef (const Decl *Func, const ValueDecl *Var) |
| bool | clang::tidy::utils::hasPtrOrReferenceInFunc (const Decl *Func, const ValueDecl *Var) |
Returns whether Var has a pointer or reference in Func. | |