/external/clang/lib/Sema/ |
D | ScopeInfo.cpp | 142 const DeclRefExpr *DRE) in WeakObjectProfileTy() 195 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in markSafeWeakUse() local 228 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getPotentialVariableCapture() local
|
D | SemaChecking.cpp | 252 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinSEHScopeCheck() local 766 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall() local 1566 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded() local 1927 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinAtomicOverloaded() local 2292 DeclRefExpr *DRE = in SemaBuiltinNontemporalOverloaded() local 2839 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinConstantArg() local 7391 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in CheckImplicitConversion() local 7578 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckForReference() local 8026 } else if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getObject() local 8573 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) in CheckArrayAccess() local [all …]
|
D | SemaStmtAsm.cpp | 95 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local
|
D | SemaExpr.cpp | 517 if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in DefaultFunctionArrayConversion() local 3697 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckAlignOfExpr() local 9223 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isReferenceToNonConstCapture() local 9342 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in DiagnoseConstAssignment() local 9581 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InnerLHS); in CheckAssignmentOperands() local 9913 DeclRefExpr *DRE = cast<DeclRefExpr>(op); in CheckAddressOfOperand() local 10027 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp); in RecordModifiableNonNullParam() local 10244 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in getDeclFromExpr() local 10956 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in isQualifiedMemberAccess() local 11837 auto *DRE = dyn_cast<DeclRefExpr>(SrcExpr->IgnoreParenImpCasts()); in maybeDiagnoseAssignmentToFunction() local [all …]
|
/external/clang/lib/CodeGen/ |
D | CGCUDARuntime.cpp | 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in EmitCUDAKernelCallExpr() local
|
D | CGStmtOpenMP.cpp | 370 DeclRefExpr DRE( in EmitOMPFirstprivateClause() local 482 DeclRefExpr DRE(const_cast<VarDecl *>(VD), true, (*IRef)->getType(), in EmitOMPCopyinClause() local 540 DeclRefExpr DRE( in EmitOMPLastprivateClauseInit() local 790 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPReductionClauseInit() local 984 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPLinearClauseInit() local 1014 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in emitLinearClauseFinal() local 1166 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), in EmitOMPSimdFinal() local
|
D | CGDecl.cpp | 476 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, in Emit() local 494 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, in Emit() 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
|
D | TransRetainReleaseDealloc.cpp | 301 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getReferencedDecl() local
|
D | TransUnbridgedCasts.cpp | 455 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isSelf() local
|
D | Transforms.cpp | 204 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isGlobalVar() local
|
/external/clang/test/SemaTemplate/ |
D | template-id-printing.cpp | 17 namespace DRE { namespace
|
/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
|
D | ThreadSafety.cpp | 591 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHSExp)) { in VisitBinaryOperator() local 1346 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Cond)) { in getTrylockCallExpr() local 1594 while (const auto *DRE = dyn_cast<DeclRefExpr>(Exp)) { in checkAccess() local 1803 DeclRefExpr DRE(VD, false, VD->getType(), VK_LValue, VD->getLocation()); in handleCall() local 2314 DeclRefExpr DRE(VD, false, VD->getType().getNonReferenceType(), in runAnalysis() local
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2015 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, msgSendType, in SynthesizeCallToFunctionDecl() local 2513 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() local 2706 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 2801 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 2945 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in SynthMessageExpr() local 3050 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(), in RewriteObjCProtocolExpr() local 3663 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) in GetBlockDeclRefExprs() local 3687 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(S)) { in GetInnerBlockDeclRefExprs() local 3735 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BlockExp)) { in SynthesizeBlockCall() local 3883 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage() [all …]
|
D | RewriteModernObjC.cpp | 2123 DeclRefExpr *DRE = in SynthesizeCallToFunctionDecl() local 2611 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() local 2700 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCBoxedExpr() local 2824 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCArrayLiteralExpr() local 2981 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in RewriteObjCDictionaryLiteralExpr() local 3212 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, false, castType, VK_RValue, in SynthMsgSendStretCallExpr() local 3312 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 3407 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperConstructorFunctionDecl, in SynthMessageExpr() local 3551 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, false, msgSendType, in SynthMessageExpr() local 3629 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, false, getProtocolType(), in RewriteObjCProtocolExpr() local [all …]
|
/external/clang/lib/AST/ |
D | NSAPI.cpp | 574 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
|
D | Expr.cpp | 1213 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) in getCalleeDecl() local 1264 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); in getBuiltinCallee() local 1398 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in UnaryExprOrTypeTraitExpr() local 2318 const DeclRefExpr *DRE = in isUnusedResultAWarning() local 3414 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr() local 3493 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar() local 4044 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType() local
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 358 if (const DeclRefExpr *DRE = in observeStmt() local
|
D | MacOSKeychainAPIChecker.cpp | 163 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in REGISTER_MAP_WITH_PROGRAMSTATE() local
|
D | DynamicTypePropagation.cpp | 328 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(RecE)) { in getObjectTypeForAllocAndNew() local
|
D | LocalizationChecker.cpp | 1038 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Condition)) { in isCheckingPlurality() local
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 966 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant() local
|