/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
|
D | SemaChecking.cpp | 255 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinSEHScopeCheck() local 1266 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in CheckARMBuiltinExclusiveCall() local 2280 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaAtomicOpsOverloaded() local 2652 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinAtomicOverloaded() local 3017 DeclRefExpr *DRE = in SemaBuiltinNontemporalOverloaded() local 3570 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); in SemaBuiltinConstantArg() local 8396 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in CheckImplicitConversion() local 8595 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckForReference() local 9059 } else if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getObject() local 9596 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 | 529 if (auto *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in DefaultFunctionArrayConversion() local 3773 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckAlignOfExpr() local 9660 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isReferenceToNonConstCapture() local 9788 } else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in DiagnoseConstAssignment() local 10030 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InnerLHS); in CheckAssignmentOperands() local 10426 DeclRefExpr *DRE = cast<DeclRefExpr>(op); in CheckAddressOfOperand() local 10541 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp); in RecordModifiableNonNullParam() local 10760 if (auto *DRE = dyn_cast<DeclRefExpr>(E)) in getDeclFromExpr() local 11488 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in isQualifiedMemberAccess() local 12378 auto *DRE = dyn_cast<DeclRefExpr>(SrcExpr->IgnoreParenImpCasts()); in maybeDiagnoseAssignmentToFunction() local [all …]
|
D | AnalysisBasedWarnings.cpp | 180 if (const DeclRefExpr *DRE = in hasRecursiveCallInPath() local 851 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Use.getUser())) { in DiagnoseUninitializedUse() 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 …]
|
D | CGDecl.cpp | 492 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, in Emit() local 510 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 | 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 …]
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1201 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) in getCalleeDecl() local 1252 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); in getBuiltinCallee() local 1384 if (const auto *DRE = dyn_cast<DeclRefExpr>(E)) in UnaryExprOrTypeTraitExpr() local 2165 const DeclRefExpr *DRE = in isUnusedResultAWarning() local 3273 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); in isObjCSelfExpr() local 3352 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in refersToGlobalRegisterVar() local 3902 if (auto *DRE = dyn_cast<DeclRefExpr>(Base)) in getBaseOriginalType() local
|
D | NSAPI.cpp | 566 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 360 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
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 966 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant() local
|