Home
last modified time | relevance | path

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

123

/external/clang/lib/Sema/
DScopeInfo.cpp145 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
DSemaChecking.cpp255 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 …]
DSemaStmtAsm.cpp95 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { in CheckNakedParmReference() local
DSemaExpr.cpp529 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 …]
DAnalysisBasedWarnings.cpp180 if (const DeclRefExpr *DRE = in hasRecursiveCallInPath() local
851 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Use.getUser())) { in DiagnoseUninitializedUse() local
/external/clang/lib/CodeGen/
DCGCUDARuntime.cpp42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in EmitCUDAKernelCallExpr() local
DCGStmtOpenMP.cpp67 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 …]
DCGDecl.cpp492 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/
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/
DRewriteModernObjC.cpp2096 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 …]
DRewriteObjC.cpp2011 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/
DExpr.cpp1201 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
DNSAPI.cpp566 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isObjCEnumerator() local
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp360 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
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp966 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) in isEnumConstant() local

123