Home
last modified time | relevance | path

Searched refs:isOnlyUsedAsConst (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryCopyInitialization.cpp35 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/
DDeclRefExprUtils.h27 bool isOnlyUsedAsConst(const VarDecl &Var, const Stmt &Stmt,
DDeclRefExprUtils.cpp77 bool isOnlyUsedAsConst(const VarDecl &Var, const Stmt &Stmt, in isOnlyUsedAsConst() function