clang-tools
15.0.0git
|
Class used to determine if any declarations used in a Stmt would conflict with a particular identifier. More...
#include <LoopConvertUtils.h>
Public Member Functions | |
DeclFinderASTVisitor (const StringRef &Name, const StmtGeneratedVarNameMap *GeneratedDecls) | |
bool | findUsages (const clang::Stmt *Body) |
Attempts to find any usages of variables name Name in Body, returning true when it is used in Body. More... | |
Friends | |
class | clang::RecursiveASTVisitor< DeclFinderASTVisitor > |
Class used to determine if any declarations used in a Stmt would conflict with a particular identifier.
This search includes the names that don't actually appear in the AST (i.e. created by a refactoring tool) by including a map from Stmts to generated names associated with those stmts.
Definition at line 177 of file LoopConvertUtils.h.
|
inline |
Definition at line 180 of file LoopConvertUtils.h.
References Name.
|
inline |
Attempts to find any usages of variables name Name in Body, returning true when it is used in Body.
This includes the generated loop variables of ForStmts which have already been transformed.
Definition at line 187 of file LoopConvertUtils.h.
|
friend |
Definition at line 193 of file LoopConvertUtils.h.