/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | IteratorsChecker.cpp | 287 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ME->getBase()); local 288 if (!DRE) 291 if (getTemplateKind(DRE->getType()) != VectorKind) 294 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 315 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(rexp)) { 316 if (getTemplateKind(DRE->getType()) != VectorIteratorKind) 319 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 381 const DeclRefExpr *DRE = getDeclRefExpr(E); local 382 if (!DRE) 384 const VarDecl *VD = dyn_cast<VarDecl>(DRE 576 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ME->getBase()); local [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 106 void VisitDeclRefExpr(DeclRefExpr *DRE) { EmitAggLoadOfLValue(DRE); } argument 442 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->getLHS())) 443 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()))
|
/external/clang/lib/AST/ |
H A D | ItaniumMangle.cpp | 2611 const DependentScopeDeclRefExpr *DRE = cast<DependentScopeDeclRefExpr>(E); local 2612 mangleUnresolvedName(DRE->getQualifier(), 0, DRE->getDeclName(), Arity); 2617 if (DRE->hasExplicitTemplateArgs()) 2618 mangleTemplateArgs(DRE->getExplicitTemplateArgs());
|
H A D | Expr.cpp | 738 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) 739 return DRE->getDecl(); 789 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(ICE->getSubExpr()); local 790 if (!DRE) 793 const FunctionDecl *FDecl = dyn_cast<FunctionDecl>(DRE->getDecl());
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 142 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 143 return dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl()); 3948 const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E); local 3949 if (!DRE) 3953 = dyn_cast<NonTypeTemplateParmDecl>(DRE->getDecl());
|
H A D | SemaChecking.cpp | 477 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); local 514 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic) 521 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic) 529 Diag(DRE->getLocStart(), diag::err_atomic_op_needs_atomic_int_or_ptr) 536 Diag(DRE->getLocStart(), diag::err_atomic_op_logical_needs_atomic_int) 550 Diag(DRE->getLocStart(), diag::err_arc_atomic_ownership) 649 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); local 650 FunctionDecl *FDecl = cast<FunctionDecl>(DRE->getDecl()); 668 Diag(DRE->getLocStart(), diag::err_atomic_builtin_must_be_pointer) 676 Diag(DRE 1165 DeclRefExpr *DRE =cast<DeclRefExpr>(TheCall->getCallee()->IgnoreParenCasts()); local [all...] |
H A D | SemaTemplate.cpp | 3408 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg); local 3409 if (!DRE) { 3423 if (!isa<ValueDecl>(DRE->getDecl())) { 3434 if (FieldDecl *Field = dyn_cast<FieldDecl>(DRE->getDecl())) { 3442 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(DRE->getDecl())) 3451 if (FunctionDecl *Func = dyn_cast<FunctionDecl>(DRE->getDecl())) { 3486 } else if (VarDecl *Var = dyn_cast<VarDecl>(DRE->getDecl())) { 3558 S.Diag(DRE->getDecl()->getLocation(), diag::note_template_arg_refers_here); 3634 DeclRefExpr *DRE = 0; local 3659 DRE [all...] |
H A D | SemaDecl.cpp | 5771 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(expr)) { 5772 HandleDeclRefExpr(DRE); 5782 if (DeclRefExpr *DRE 5784 HandleDeclRefExpr(DRE); 5796 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(SubExpr)) { 5797 HandleDeclRefExpr(DRE); 5810 void HandleDeclRefExpr(DeclRefExpr *DRE) { argument 5811 Decl* ReferenceDecl = DRE->getDecl(); 5813 LookupResult Result(S, DRE->getNameInfo(), Sema::LookupOrdinaryName, 5815 S.DiagRuntimeBehavior(DRE [all...] |
H A D | SemaDeclCXX.cpp | 61 bool VisitDeclRefExpr(DeclRefExpr *DRE); 76 bool CheckDefaultArgumentVisitor::VisitDeclRefExpr(DeclRefExpr *DRE) { argument 77 NamedDecl *Decl = DRE->getDecl(); 87 return S->Diag(DRE->getSourceRange().getBegin(), 95 return S->Diag(DRE->getSourceRange().getBegin(), 1944 } else if (const DeclRefExpr *DRE 1947 const ParmVarDecl *Parameter = dyn_cast<ParmVarDecl>(DRE->getDecl());
|
H A D | SemaExpr.cpp | 7536 DeclRefExpr *DRE = cast<DeclRefExpr>(op); local 7537 CXXMethodDecl *MD = cast<CXXMethodDecl>(DRE->getDecl()); 7540 if (OrigOp != DRE) { 7545 } else if (!DRE->getQualifier()) {
|
H A D | SemaOverload.cpp | 43 DeclRefExpr *DRE = new (S.Context) DeclRefExpr(Fn, Fn->getType(), local 46 DRE->setHadMultipleCandidates(true); 47 ExprResult E = S.Owned(DRE); 10118 DeclRefExpr *DRE = DeclRefExpr::Create(Context, local 10126 DRE->setHadMultipleCandidates(ULE->getNumDecls() > 1); 10127 return DRE; 10144 DeclRefExpr *DRE = DeclRefExpr::Create(Context, local 10152 DRE->setHadMultipleCandidates(MemExpr->getNumDecls() > 1); 10153 return DRE;
|
/external/clang/lib/Rewrite/ |
H A D | RewriteObjC.cpp | 375 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); 2203 DeclRefExpr *DRE = local 2210 DRE, 0, VK_RValue); 2717 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, strType, VK_LValue, local 2719 Expr *Unop = new (Context) UnaryOperator(DRE, UO_AddrOf, 2720 Context->getPointerType(DRE->getType()), 2885 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperContructorFunctionDecl, local 2888 SuperRep = new (Context) CallExpr(*Context, DRE, &InitExprs[0], 2994 DeclRefExpr *DRE = new (Context) DeclRefExpr(SuperContructorFunctionDecl, local 2997 SuperRep = new (Context) CallExpr(*Context, DRE, 3147 DeclRefExpr *DRE = new (Context) DeclRefExpr(MsgSendFlavor, msgSendType, local 3271 DeclRefExpr *DRE = new (Context) DeclRefExpr(VD, getProtocolType(), VK_LValue, local 4887 RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) argument 5438 DeclRefExpr *DRE = new (Context) DeclRefExpr(FD, FType, VK_RValue, local [all...] |