reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/tools/extra/clang-tidy/utils/DeclRefExprUtils.h
   27 bool isOnlyUsedAsConst(const VarDecl &Var, const Stmt &Stmt,

References

tools/clang/tools/extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
  121   if (!IsConstQualified && !isOnlyUsedAsConst(Var, BlockStmt, Context))
  124       !isOnlyUsedAsConst(*ObjectArg, BlockStmt, Context))
  143   if (!isOnlyUsedAsConst(NewVar, BlockStmt, Context) ||
  144       !isOnlyUsedAsConst(OldVar, BlockStmt, Context))