Home
last modified time | relevance | path

Searched refs:allDeclRefExprs (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.h32 allDeclRefExprs(const VarDecl &VarDecl, const Stmt &Stmt, ASTContext &Context);
36 allDeclRefExprs(const VarDecl &VarDecl, const Decl &Decl, ASTContext &Context);
H A DDeclRefExprUtils.cpp95 auto AllDeclRefs = allDeclRefExprs(Var, Stmt, Context); in isOnlyUsedAsConst()
101 allDeclRefExprs(const VarDecl &VarDecl, const Stmt &Stmt, ASTContext &Context) { in allDeclRefExprs() function
111 allDeclRefExprs(const VarDecl &VarDecl, const Decl &Decl, ASTContext &Context) { in allDeclRefExprs() function
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp25 using utils::decl_ref_expr::allDeclRefExprs;
175 return allDeclRefExprs(Var, BlockStmt, Context).empty(); in isVariableUnused()
H A DForRangeCopyCheck.cpp117 !utils::decl_ref_expr::allDeclRefExprs(LoopVar, *ForRange.getBody(), in handleCopyIsOnlyConstReferenced()
H A DUnnecessaryValueParamCheck.cpp104 auto AllDeclRefExprs = utils::decl_ref_expr::allDeclRefExprs( in check()
H A DInefficientVectorOperationCheck.cpp215 utils::decl_ref_expr::allDeclRefExprs(*TargetVarDecl, *LoopParent, in check()