/external/llvm-project/clang/lib/Sema/ |
D | ScopeInfo.cpp | 140 const DeclRefExpr *DRE) in WeakObjectProfileTy() 193 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in markSafeWeakUse() local 236 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) { in visitPotentialCaptures() local
|
/external/clang/lib/Sema/ |
D | ScopeInfo.cpp | 145 const DeclRefExpr *DRE) in WeakObjectProfileTy() 198 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in markSafeWeakUse() local 231 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getPotentialVariableCapture() local
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | InfiniteLoopCheck.cpp | 49 if (const auto *DRE = dyn_cast<DeclRefExpr>(Cond)) { in isVarThatIsPossiblyChanged() local 91 if (const auto *DRE = dyn_cast<DeclRefExpr>(Cond)) { in getCondVarNames() local
|
/external/clang/lib/CodeGen/ |
D | CGCUDARuntime.cpp | 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in EmitCUDAKernelCallExpr() local
|
D | CGStmtOpenMP.cpp | 67 DeclRefExpr DRE(const_cast<VarDecl *>(VD), in OMPLexicalScope() local 390 if (auto *DRE = in getReductionInit() local 607 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPFirstprivateClause() local 717 DeclRefExpr DRE(const_cast<VarDecl *>(VD), true, (*IRef)->getType(), in EmitOMPCopyinClause() local 787 DeclRefExpr DRE( in EmitOMPLastprivateClauseInit() local 1057 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPReductionClauseInit() local 1100 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPReductionClauseInit() local 1331 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPLinearClauseInit() local 1374 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPLinearClauseFinal() local 1438 DeclRefExpr DRE(const_cast<VarDecl *>(PrivateVD), in EmitOMPPrivateLoopCounters() local [all …]
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 46 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
|
D | TransProtectedScope.cpp | 183 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
|
/external/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
|
D | TransProtectedScope.cpp | 182 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | Aliasing.cpp | 19 if (const auto *DRE = dyn_cast<DeclRefExpr>(S)) in isAccessForVar() local
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | template-id-printing.cpp | 17 namespace DRE { namespace
|
/external/clang/test/SemaTemplate/ |
D | template-id-printing.cpp | 17 namespace DRE { namespace
|
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
D | CallbacksCommon.h | 61 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in stmtToString() local
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | AvoidBindCheck.cpp | 206 const auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreImplicit()); in tryCaptureAsLocalVariable() local 283 const auto *DRE = dyn_cast<DeclRefExpr>(E); in buildBindArguments() local 486 if (const auto *DRE = dyn_cast<DeclRefExpr>(CallExpression)) in getCallMethodDecl() local 534 if (const auto *DRE = dyn_cast<DeclRefExpr>(NoTemporaries)) { in getCallableMaterialization() local
|
/external/llvm-project/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 272 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, in translateDeclRefExpr() 441 if (const auto *DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() local 500 if (const auto *DRE = dyn_cast<DeclRefExpr>(LHS)) { in translateBinAssign() local 566 if (const auto *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in translateCastExpr() local
|
D | UninitializedValues.cpp | 252 if (const auto *DRE = in findVar() local 317 const auto *DRE = in getSelfInitExpr() local 367 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local 375 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 266 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, in translateDeclRefExpr() 416 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { in translateUnaryOperator() local 476 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHS)) { in translateBinAssign() local 541 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in translateCastExpr() local
|
D | UninitializedValues.cpp | 294 if (const DeclRefExpr *DRE = in findVar() local 353 const DeclRefExpr *DRE in getSelfInitExpr() local 404 if (const DeclRefExpr *DRE = Var.getDeclRefExpr()) in classify() local 412 if (const DeclRefExpr *DRE = getSelfInitExpr(VD)) in VisitDeclStmt() local
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | UnusedUsingDeclsCheck.cpp | 153 if (const auto *DRE = Result.Nodes.getNodeAs<DeclRefExpr>("used")) { in check() local
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | PreferMemberInitializerCheck.cpp | 52 if (const auto *DRE = dyn_cast<DeclRefExpr>(Value)) in shouldBeDefaultMemberInitializer() local
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CastValueChecker.cpp | 121 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local 152 if (const auto *DRE = dyn_cast<DeclRefExpr>(Object)) { in getNoteTag() local
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2103 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local 2590 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral() local 2679 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCBoxedExpr() local 2800 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCArrayLiteralExpr() local 2952 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCDictionaryLiteralExpr() local 3179 DeclRefExpr *DRE = new (Context) in SynthMsgSendStretCallExpr() local 3280 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 3376 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 3521 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local 3599 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local [all …]
|
D | RewriteObjC.cpp | 2020 DeclRefExpr *DRE = new (Context) DeclRefExpr(*Context, FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local 2517 DeclRefExpr *DRE = new (Context) in RewriteObjCStringLiteral() local 2710 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 2806 DeclRefExpr *DRE = new (Context) in SynthMessageExpr() local 2951 DeclRefExpr *DRE = new (Context) DeclRefExpr( in SynthMessageExpr() local 3055 DeclRefExpr *DRE = new (Context) DeclRefExpr( in RewriteObjCProtocolExpr() local 3667 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs() local 3689 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs() local 3735 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall() local 3881 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage() [all …]
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2096 DeclRefExpr *DRE = in SynthesizeCallToFunctionDecl() local 2584 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() local 2673 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCBoxedExpr() local 2796 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCArrayLiteralExpr() local 2950 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCDictionaryLiteralExpr() local 3179 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr() local 3279 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 3374 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 3518 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in SynthMessageExpr() local 3596 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(), in RewriteObjCProtocolExpr() local [all …]
|
D | RewriteObjC.cpp | 2011 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local 2508 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() local 2699 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 2794 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 2938 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in SynthMessageExpr() local 3043 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(), in RewriteObjCProtocolExpr() local 3654 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs() local 3676 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs() local 3722 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall() local 3870 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage() [all …]
|