/external/clang/lib/ARCMigrate/ |
TransGCCalls.cpp | 53 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { 54 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) { 63 DRE->getSourceRange()); 64 TA.replace(DRE->getSourceRange(), "CFBridgingRelease"); 68 "receives in ARC", DRE->getLocation(), 69 DRE->getSourceRange());
|
TransProtectedScope.cpp | 176 DeclRefExpr *DRE = LocalRefs[i]; 177 if (isInRange(DRE->getDecl()->getLocation(), info.Range) && 178 !isInRange(DRE->getLocation(), info.Range))
|
Transforms.cpp | 199 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 200 return DRE->getDecl()->getDeclContext()->isFileContext() && 201 DRE->getDecl()->hasExternalLinkage();
|
TransRetainReleaseDealloc.cpp | 311 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 312 return DRE->getDecl();
|
TransUnbridgedCasts.cpp | 447 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 448 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 | 41 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { 42 TargetDecl = DRE->getDecl();
|
CGDecl.cpp | 415 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, 417 llvm::Value *value = CGF.EmitLoadOfScalar(CGF.EmitDeclRefLValue(&DRE)); 432 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, 436 llvm::Value *Addr = CGF.EmitDeclRefLValue(&DRE).getAddress(); [all...] |
/external/clang/lib/Sema/ |
ScopeInfo.cpp | 115 const DeclRefExpr *DRE) 116 : Base(0, true), Property(DRE->getDecl()) { 160 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 161 Uses = WeakObjectUses.find(WeakObjectProfileTy(DRE));
|
SemaChecking.cpp | 628 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); 747 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer) 757 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic) 762 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_non_const_atomic) 773 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr) 778 Diag(DRE->getLocStart(), diag::err_atomic_op_bitwise_needs_atomic_int) 785 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr) 793 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_trivial_copy) 812 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership) [all...] |
SemaTemplate.cpp | [all...] |
AnalysisBasedWarnings.cpp | 637 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Use.getUser())) { 650 if (!alwaysReportSelfInit && DRE == Initializer->IgnoreParenImpCasts()) 653 ContainsReference CR(S.Context, DRE); 656 S.Diag(DRE->getLocStart(), 658 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); [all...] |
SemaLambda.cpp | 241 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { 243 = dyn_cast<EnumConstantDecl>(DRE->getDecl())) { [all...] |
SemaType.cpp | [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()); 352 const DeclRefExpr *DRE 354 if (DRE && DRE->getDecl() == VD) 355 return DRE; [all...] |
ThreadSafety.cpp | 282 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp)) { 283 const NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl()); 401 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UOE->getSubExpr())) { 402 if (DRE->getDecl()->isCXXInstanceMember()) { 405 unsigned Root = makeDot(DRE->getDecl(), false); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DynamicTypePropagation.cpp | 213 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(RecE)) { 217 if (DRE->getDecl() == SFCtx->getSelfDecl()) {
|
DeadStoresChecker.cpp | 350 if (const DeclRefExpr *DRE = 352 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
|
MacOSKeychainAPIChecker.cpp | 164 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { 165 const ValueDecl *VD = DRE->getDecl();
|
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | 326 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); [all...] |
RewriteModernObjC.cpp | 387 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); [all...] |
/external/clang/lib/AST/ |
NSAPI.cpp | 411 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->IgnoreParenImpCasts())) 413 EnumD = dyn_cast_or_null<EnumConstantDecl>(DRE->getDecl()))
|
ASTDiagnostic.cpp | [all...] |
Expr.cpp | [all...] |
ItaniumMangle.cpp | [all...] |