/external/clang/lib/ARCMigrate/ |
TransGCCalls.cpp | 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { 48 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) { 57 DRE->getSourceRange()); 58 TA.replace(DRE->getSourceRange(), "CFBridgingRelease"); 62 "receives in ARC", DRE->getLocation(), 63 DRE->getSourceRange());
|
TransProtectedScope.cpp | 182 DeclRefExpr *DRE = LocalRefs[i]; 183 if (isInRange(DRE->getDecl()->getLocation(), info.Range) && 184 !isInRange(DRE->getLocation(), info.Range))
|
Transforms.cpp | 204 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 205 return DRE->getDecl()->getDeclContext()->isFileContext() && 206 DRE->getDecl()->isExternallyVisible();
|
TransRetainReleaseDealloc.cpp | 301 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 302 return DRE->getDecl();
|
TransUnbridgedCasts.cpp | 455 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 456 if (ImplicitParamDecl *IPD = dyn_cast<ImplicitParamDecl>(DRE->getDecl()))
|
/external/clang/test/SemaTemplate/ |
template-id-printing.cpp | 17 namespace DRE { 23 // CHECK: DRE::foo<int>; 24 DRE::foo<int>; 25 // CHECK: DRE::template foo<int>; 26 DRE::template foo<int>; 27 // CHECK: DRE::foo<int>(); 28 DRE::foo<int>(); 29 // CHECK: DRE::template foo<int>(); 30 DRE::template foo<int>(); 33 } // namespace DRE [all...] |
/external/clang/lib/CodeGen/ |
CGCUDARuntime.cpp | 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { 43 TargetDecl = DRE->getDecl();
|
CGStmtOpenMP.cpp | 67 DeclRefExpr DRE(const_cast<VarDecl *>(VD), 73 InlinedShareds.addPrivate(VD, [&CGF, &DRE]() -> Address { 74 return CGF.EmitLValue(&DRE).getAddress(); 390 if (auto *DRE = 392 if (auto *DRD = dyn_cast<OMPDeclareReductionDecl>(DRE->getDecl())) 607 DeclRefExpr DRE(const_cast<VarDecl *>(OrigVD), 610 Address OriginalAddr = EmitLValue(&DRE).getAddress(); 717 DeclRefExpr DRE(const_cast<VarDecl *>(VD), true, (*IRef)->getType(), 719 MasterAddr = EmitLValue(&DRE).getAddress(); [all...] |
/external/clang/lib/Sema/ |
ScopeInfo.cpp | 145 const DeclRefExpr *DRE) 146 : Base(nullptr, true), Property(DRE->getDecl()) { 198 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 199 Uses = WeakObjectUses.find(WeakObjectProfileTy(DRE)); 231 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 232 VD = dyn_cast<VarDecl>(DRE->getFoundDecl());
|
SemaChecking.cpp | 255 auto *DRE = cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); 257 << DRE->getDecl()->getIdentifier(); [all...] |
SemaTemplate.cpp | [all...] |
SemaStmtAsm.cpp | 95 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { 96 if (isa<ParmVarDecl>(DRE->getDecl())) { 97 S.Diag(DRE->getLocStart(), diag::err_asm_naked_parm_ref);
|
AnalysisBasedWarnings.cpp | 180 if (const DeclRefExpr *DRE = 182 if (NestedNameSpecifier *NNS = DRE->getQualifier()) { 851 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Use.getUser())) { 864 if (!alwaysReportSelfInit && DRE == Initializer->IgnoreParenImpCasts()) 867 ContainsReference CR(S.Context, DRE); 870 S.Diag(DRE->getLocStart(), 872 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); [all...] |
/external/clang/lib/Analysis/ |
UninitializedValues.cpp | 294 if (const DeclRefExpr *DRE = 296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) 298 return FindVarResult(VD, DRE); 335 Class get(const DeclRefExpr *DRE) const { 337 = Classification.find(DRE); 341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 353 const DeclRefExpr *DRE 355 if (DRE && DRE->getDecl() == VD) 356 return DRE; [all...] |
ThreadSafetyCommon.cpp | 266 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, 268 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); 416 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UO->getSubExpr())) { 417 if (DRE->getDecl()->isCXXInstanceMember()) { 421 return new (Arena) til::Project(W, DRE->getDecl()); 476 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHS)) { 477 VD = DRE->getDecl(); 541 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { 542 til::SExpr *E0 = lookupVarDecl(DRE->getDecl()); [all...] |
ThreadSafety.cpp | 591 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHSExp)) { 592 ValueDecl *VDec = DRE->getDecl(); [all...] |
/frameworks/compile/slang/ |
slang_rs_foreach_lowering.cpp | 60 clang::DeclRefExpr* DRE = 63 if (DRE == nullptr) { 68 clang::dyn_cast<clang::FunctionDecl>(DRE->getDecl());
|
slang_rs_context.cpp | 372 clang::DeclRefExpr *const DRE = clang::DeclRefExpr::Create(mCtx, 378 clang::CK_FunctionToPointerDecay, DRE,
|
slang_rs_object_ref_count.cpp | [all...] |
/external/clang/lib/Frontend/Rewrite/ |
RewriteObjC.cpp | 319 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); [all...] |
RewriteModernObjC.cpp | 391 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); [all...] |
/external/clang/lib/AST/ |
Expr.cpp | [all...] |
NSAPI.cpp | 566 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) 568 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl()))
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DeadStoresChecker.cpp | 360 if (const DeclRefExpr *DRE = 362 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
|
MacOSKeychainAPIChecker.cpp | 163 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { 164 const ValueDecl *VD = DRE->getDecl();
|