Home
last modified time | relevance | path

Searched defs:DRE (Results 1 – 25 of 52) sorted by relevance

123

/external/clang/lib/Sema/
DScopeInfo.cpp142 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
DSemaChecking.cpp252 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 …]
DSemaStmtAsm.cpp95 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local
DSemaExpr.cpp517 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/
DCGCUDARuntime.cpp42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in EmitCUDAKernelCallExpr() local
DCGStmtOpenMP.cpp370 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
DCGDecl.cpp476 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/
DTransGCCalls.cpp47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr() local
DTransProtectedScope.cpp182 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside() local
DTransRetainReleaseDealloc.cpp301 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getReferencedDecl() local
DTransUnbridgedCasts.cpp455 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isSelf() local
DTransforms.cpp204 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in isGlobalVar() local
/external/clang/test/SemaTemplate/
Dtemplate-id-printing.cpp17 namespace DRE { namespace
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp266 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
DUninitializedValues.cpp294 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
DThreadSafety.cpp591 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/
DRewriteObjC.cpp2015 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 …]
DRewriteModernObjC.cpp2123 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/
DNSAPI.cpp574 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
DExpr.cpp1213 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/
DDeadStoresChecker.cpp358 if (const DeclRefExpr *DRE = in observeStmt() local
DMacOSKeychainAPIChecker.cpp163 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in REGISTER_MAP_WITH_PROGRAMSTATE() local
DDynamicTypePropagation.cpp328 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(RecE)) { in getObjectTypeForAllocAndNew() local
DLocalizationChecker.cpp1038 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Condition)) { in isCheckingPlurality() local
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp966 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant() local

123