| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | ExplicitMakePairCheck.cpp | 43 const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>("declref"); in check() local
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | DeclRefExprUtils.cpp | 121 bool isCopyConstructorArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyConstructorArgument() 135 bool isCopyAssignmentArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyAssignmentArgument()
|
| H A D | RenamerClangTidyCheck.cpp | 359 if (const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>("declRef")) { in check() local
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UseAfterMoveCheck.cpp | 51 const DeclRefExpr *DeclRef; member 226 for (const DeclRefExpr *DeclRef : DeclRefs) { in getUsesAndReinits() local 269 const auto *DeclRef = Match.getNodeAs<DeclRefExpr>("declref"); in getDeclRefs() local
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | UseAnyOfAllOfCheck.cpp | 82 return llvm::none_of(Matches, [&Mutations](auto &DeclRef) { in isViableLoop()
|
| H A D | ElseAfterReturnCheck.cpp | 54 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Node)) { in findUsage() local 71 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Node)) { in findUsageRange() local
|
| /llvm-project-15.0.7/clang-tools-extra/include-cleaner/unittests/ |
| H A D | WalkASTTest.cpp | 80 TEST(WalkAST, DeclRef) { in TEST() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | ThrowByValueCatchByReferenceCheck.cpp | 82 auto *DeclRef = dyn_cast<DeclRefExpr>(Inner); in diagnoseThrowLocations() local
|
| H A D | UnusedParametersCheck.cpp | 93 bool WalkUpFromDeclRefExpr(DeclRefExpr *DeclRef) { in WalkUpFromDeclRefExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | ExtractVariable.cpp | 76 bool VisitDeclRefExpr(DeclRefExpr *DeclRef) { // NOLINT in computeReferencedDecls() 354 const SelectionTree::Node *getCallExpr(const SelectionTree::Node *DeclRef) { in getCallExpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | UnnecessaryValueParamCheck.cpp | 42 bool hasLoopStmtAncestor(const DeclRefExpr &DeclRef, const Decl &Decl, in hasLoopStmtAncestor()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.cpp | 74 bool DependencyFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr() 127 bool DeclFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
|
| H A D | AvoidBindCheck.cpp | 186 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Statement)) { in anyDescendantIsLocal() local
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 832 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1176 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local
|
| H A D | Sema.cpp | 2459 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local
|
| H A D | SemaStmt.cpp | 1360 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local 1363 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local
|
| H A D | SemaExpr.cpp | 4326 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local 6858 ExprResult DeclRef = in BuildBuiltinCallExpr() local 17461 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local 17505 if (auto *DeclRef = in CheckForImmediateInvocation() local
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 3962 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local
|