Home
last modified time | relevance | path

Searched defs:DeclRef (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DExplicitMakePairCheck.cpp43 const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>("declref"); in check() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DDeclRefExprUtils.cpp121 bool isCopyConstructorArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyConstructorArgument()
135 bool isCopyAssignmentArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyAssignmentArgument()
H A DRenamerClangTidyCheck.cpp359 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 DUseAfterMoveCheck.cpp51 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 DUseAnyOfAllOfCheck.cpp82 return llvm::none_of(Matches, [&Mutations](auto &DeclRef) { in isViableLoop()
H A DElseAfterReturnCheck.cpp54 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 DWalkASTTest.cpp80 TEST(WalkAST, DeclRef) { in TEST() argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DThrowByValueCatchByReferenceCheck.cpp82 auto *DeclRef = dyn_cast<DeclRefExpr>(Inner); in diagnoseThrowLocations() local
H A DUnusedParametersCheck.cpp93 bool WalkUpFromDeclRefExpr(DeclRefExpr *DeclRef) { in WalkUpFromDeclRefExpr()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractVariable.cpp76 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 DUnnecessaryValueParamCheck.cpp42 bool hasLoopStmtAncestor(const DeclRefExpr &DeclRef, const Decl &Decl, in hasLoopStmtAncestor()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DLoopConvertUtils.cpp74 bool DependencyFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
127 bool DeclFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
H A DAvoidBindCheck.cpp186 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Statement)) { in anyDescendantIsLocal() local
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp832 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCoroutine.cpp1176 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local
H A DSema.cpp2459 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local
H A DSemaStmt.cpp1360 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local
1363 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local
H A DSemaExpr.cpp4326 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 DExpr.cpp3962 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local