/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
H A D | SuspiciousReallocUsageCheck.cpp | 71 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in isAccessForVar() local 142 if (const auto *DeclRef = in check() local
|
H A D | UseAfterMoveCheck.cpp | 36 const DeclRefExpr *DeclRef; member 231 for (const DeclRefExpr *DeclRef : DeclRefs) { getUsesAndReinits() local 274 const auto *DeclRef = Match.getNodeAs<DeclRefExpr>("declref"); getDeclRefs() local [all...] |
H A D | UnsafeFunctionsCheck.cpp | 185 const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>(DeclRefId); check() local
|
/llvm-project/clang-tools-extra/clang-tidy/google/ |
H A D | ExplicitMakePairCheck.cpp | 41 const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>("declref"); in check() local
|
/llvm-project/clang-tools-extra/clang-tidy/readability/ |
H A D | UseAnyOfAllOfCheck.cpp | 81 return llvm::none_of(Matches, [&Mutations](auto &DeclRef) { in isViableLoop()
|
H A D | ElseAfterReturnCheck.cpp | 52 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Node)) { in findUsage() local 69 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Node)) { in findUsageRange() local
|
/llvm-project/clang-tools-extra/clang-tidy/utils/ |
H A D | DeclRefExprUtils.cpp | 395 bool isCopyConstructorArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyConstructorArgument() 409 bool isCopyAssignmentArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyAssignmentArgument()
|
H A D | RenamerClangTidyCheck.cpp | 277 bool VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr() argument
|
/llvm-project/clang-tools-extra/clang-tidy/misc/ |
H A D | ThrowByValueCatchByReferenceCheck.cpp | 80 auto *DeclRef = dyn_cast<DeclRefExpr>(Inner); in diagnoseThrowLocations() local
|
H A D | UnusedParametersCheck.cpp | 91 WalkUpFromDeclRefExpr(DeclRefExpr * DeclRef) WalkUpFromDeclRefExpr() argument
|
/llvm-project/clang-tools-extra/clang-tidy/performance/ |
H A D | UnnecessaryValueParamCheck.cpp | 41 bool hasLoopStmtAncestor(const DeclRefExpr &DeclRef, const Decl &Decl, in hasLoopStmtAncestor() argument
|
/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | ExtractVariable.cpp | 79 VisitDeclRefExpr(DeclRefExpr * DeclRef) computeReferencedDecls() argument 406 getCallExpr(const SelectionTree::Node * DeclRef) getCallExpr() argument
|
/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
H A D | LoopConvertUtils.cpp | 74 bool DependencyFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr() argument 127 bool DeclFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr() argument
|
H A D | AvoidBindCheck.cpp | 185 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Statement)) { in anyDescendantIsLocal() local
|
/llvm-project/clang-tools-extra/include-cleaner/unittests/ |
H A D | WalkASTTest.cpp | 113 TEST(WalkAST, DeclRef) { in TEST() argument
|
/llvm-project/clang/lib/Analysis/ |
H A D | Consumed.cpp | 832 VisitDeclRefExpr(const DeclRefExpr * DeclRef) VisitDeclRefExpr() argument
|
/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 1218 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { diagReturnOnAllocFailure() local
|
H A D | SemaStmt.cpp | 1395 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { ActOnFinishSwitchStmt() local 1398 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { ActOnFinishSwitchStmt() local
|
H A D | Sema.cpp | 2537 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { tryExprAsCall() local
|
H A D | SemaExpr.cpp | 4258 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { CheckUnaryExprOrTypeTraitOperand() local 6580 ExprResult DeclRef = BuildBuiltinCallExpr() local 17167 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); WarnOnPendingNoDerefs() local 17203 if (auto *DeclRef = MarkExpressionAsImmediateEscalating() local 17208 } else if (auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreImplicit())) { MarkExpressionAsImmediateEscalating() local 17229 if (auto *DeclRef = CheckForImmediateInvocation() local [all...] |
/llvm-project/clang/unittests/ASTMatchers/ |
H A D | ASTMatchersTraversalTest.cpp | 988 auto DeclRef = declRefExpr(to(varDecl().bind("declOfArg"))).bind("arg"); TEST_P() local 1203 auto DeclRef = declRefExpr(to(varDecl().bind("declOfArg"))).bind("arg"); TEST_P() local
|
/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 4124 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { getSourceBitField() local
|
H A D | ASTImporter.cpp | 3485 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(CurrentS)) { isAncestorDeclContextOf() local
|