Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DDeclRefExprUtils.cpp110 bool isCopyConstructorArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyConstructorArgument()
124 bool isCopyAssignmentArgument(const DeclRefExpr &DeclRef, const Decl &Decl, in isCopyAssignmentArgument()
DRenamerClangTidyCheck.cpp359 if (const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>("declRef")) { in check() local
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DUseAfterMoveCheck.cpp50 const DeclRefExpr *DeclRef; member
218 for (const DeclRefExpr *DeclRef : DeclRefs) { in getUsesAndReinits() local
262 const auto *DeclRef = Match.getNodeAs<DeclRefExpr>("declref"); in getDeclRefs() local
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DExplicitMakePairCheck.cpp43 const auto *DeclRef = Result.Nodes.getNodeAs<DeclRefExpr>("declref"); in check() local
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DUseAnyOfAllOfCheck.cpp83 return llvm::none_of(Matches, [&Mutations](auto &DeclRef) { in isViableLoop()
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
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractVariable.cpp76 bool VisitDeclRefExpr(DeclRefExpr *DeclRef) { // NOLINT in computeReferencedDecls()
323 const SelectionTree::Node *getCallExpr(const SelectionTree::Node *DeclRef) { in getCallExpr()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DUnnecessaryValueParamCheck.cpp42 bool hasLoopStmtAncestor(const DeclRefExpr &DeclRef, const Decl &Decl, in hasLoopStmtAncestor()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp74 bool DependencyFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
127 bool DeclFinderASTVisitor::VisitDeclRefExpr(DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
DAvoidBindCheck.cpp186 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(Statement)) { in anyDescendantIsLocal() local
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnusedParametersCheck.cpp92 bool WalkUpFromDeclRefExpr(DeclRefExpr *DeclRef) { in WalkUpFromDeclRefExpr()
/external/llvm-project/clang/lib/Sema/
DSemaCoroutine.cpp303 ExprResult DeclRef = in buildBuiltinCall() local
1183 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local
DSemaStmt.cpp1043 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local
1046 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local
DSema.cpp2229 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local
DSemaExpr.cpp4147 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local
16288 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local
16332 if (auto *DeclRef = in CheckForImmediateInvocation() local
/external/clang/lib/Sema/
DSema.cpp1361 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local
DSemaStmt.cpp913 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local
916 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local
DSemaExpr.cpp3670 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local
13345 Expr *DeclRef = new (S.Context) DeclRefExpr(Var, Nested, in captureInBlock() local
/external/llvm-project/clang/lib/Analysis/
DConsumed.cpp832 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
/external/clang/lib/Analysis/
DConsumed.cpp846 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr()
/external/clang/lib/AST/
DExpr.cpp3309 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) in getSourceBitField() local
/external/llvm-project/clang/lib/AST/
DExpr.cpp3784 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local