Searched refs:isOnlyUsedAsConst (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | UnnecessaryCopyInitialization.cpp | 35 using utils::decl_ref_expr::isOnlyUsedAsConst; 138 if (!IsConstQualified && !isOnlyUsedAsConst(Var, BlockStmt, Context)) in handleCopyFromMethodReturn() 141 !isOnlyUsedAsConst(*ObjectArg, BlockStmt, Context)) in handleCopyFromMethodReturn() 160 if (!isOnlyUsedAsConst(NewVar, BlockStmt, Context) || in handleCopyFromLocalVar() 161 !isOnlyUsedAsConst(OldVar, BlockStmt, Context)) in handleCopyFromLocalVar()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | DeclRefExprUtils.h | 27 bool isOnlyUsedAsConst(const VarDecl &Var, const Stmt &Stmt,
|
D | DeclRefExprUtils.cpp | 77 bool isOnlyUsedAsConst(const VarDecl &Var, const Stmt &Stmt, in isOnlyUsedAsConst() function
|