/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 | 205 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 206 return DRE->getDecl()->getDeclContext()->isFileContext() && 207 DRE->getDecl()->isExternallyVisible();
|
TransRetainReleaseDealloc.cpp | 311 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 312 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();
|
CGDecl.cpp | 431 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, 433 llvm::Value *value = CGF.EmitLoadOfScalar(CGF.EmitDeclRefLValue(&DRE), 449 DeclRefExpr DRE(const_cast<VarDecl*>(&Var), false, 453 llvm::Value *Addr = CGF.EmitDeclRefLValue(&DRE).getAddress(); [all...] |
/external/clang/lib/Sema/ |
ScopeInfo.cpp | 120 const DeclRefExpr *DRE) 121 : Base(nullptr, true), Property(DRE->getDecl()) { 171 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 172 Uses = WeakObjectUses.find(WeakObjectProfileTy(DRE)); 204 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 205 VD = dyn_cast<VarDecl>(DRE->getFoundDecl());
|
SemaChecking.cpp | 502 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); 520 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer) 537 Diag(DRE->getLocStart(), diag::ext_typecheck_convert_discards_qualifiers) 555 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer_intfltptr) 563 Diag(DRE->getLocStart(), diag::err_atomic_exclusive_builtin_pointer_size) 577 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership) [all...] |
AnalysisBasedWarnings.cpp | 202 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>( 204 if (NestedNameSpecifier *NNS = DRE->getQualifier()) { 845 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Use.getUser())) { 858 if (!alwaysReportSelfInit && DRE == Initializer->IgnoreParenImpCasts()) 861 ContainsReference CR(S.Context, DRE); 864 S.Diag(DRE->getLocStart(), 866 << VD->getDeclName() << VD->getLocation() << DRE->getSourceRange(); [all...] |
SemaTemplate.cpp | [all...] |
SemaStmt.cpp | 683 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CaseExpr)) { 684 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { [all...] |
/external/clang/lib/Analysis/ |
UninitializedValues.cpp | 293 if (const DeclRefExpr *DRE = 295 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) 297 return FindVarResult(VD, DRE); 334 Class get(const DeclRefExpr *DRE) const { 336 = Classification.find(DRE); 340 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 351 const DeclRefExpr *DRE 353 if (DRE && DRE->getDecl() == VD) 354 return DRE; [all...] |
ThreadSafetyCommon.cpp | 165 til::SExpr *SExprBuilder::translateDeclRefExpr(const DeclRefExpr *DRE, 167 const ValueDecl *VD = cast<ValueDecl>(DRE->getDecl()->getCanonicalDecl()); 290 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(LHS)) { 291 VD = DRE->getDecl(); 357 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { 358 til::SExpr *E0 = lookupVarDecl(DRE->getDecl());
|
ThreadSafety.cpp | 280 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Exp)) { 281 const NamedDecl *ND = cast<NamedDecl>(DRE->getDecl()->getCanonicalDecl()); 396 if (DeclRefExpr* DRE = dyn_cast<DeclRefExpr>(UOE->getSubExpr())) { 397 if (DRE->getDecl()->isCXXInstanceMember()) { 400 unsigned Root = makeDot(DRE->getDecl(), false); [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DynamicTypePropagation.cpp | 229 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(RecE)) { 233 if (DRE->getDecl() == SFCtx->getSelfDecl()) {
|
DeadStoresChecker.cpp | 358 if (const DeclRefExpr *DRE = 360 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) {
|
MacOSKeychainAPIChecker.cpp | 165 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) { 166 const ValueDecl *VD = DRE->getDecl();
|
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | 402 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); [all...] |
RewriteObjC.cpp | 327 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()))
|
Expr.cpp | [all...] |
ASTDiagnostic.cpp | [all...] |
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafetyCommon.h | 261 til::SExpr *translateDeclRefExpr(const DeclRefExpr *DRE,
|