/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); 52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefCapturedBlockVarChecker.cpp | 37 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S, 39 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S)) 46 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD);
|
H A D | CStringSyntaxChecker.cpp | 40 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts())) 41 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts())) 75 if (const DeclRefExpr *D = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()))
|
H A D | DeadStoresChecker.cpp | 54 bool VisitDeclRefExpr(DeclRefExpr *DR) { 229 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, 245 const DeclRefExpr *DR; 247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) 251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) 272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) 288 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS)) 310 if (const DeclRefExpr *D [all...] |
H A D | MallocOverflowSecurityChecker.cpp | 91 else if (isa<DeclRefExpr>(e) || isa<MemberExpr>(e)) 135 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) { 139 if (const DeclRefExpr *DR_i = dyn_cast<DeclRefExpr>(i->variable)) {
|
H A D | IdenticalExprChecker.cpp | 208 const DeclRefExpr *DeclRef1 = dyn_cast<DeclRefExpr>(LHS); 209 const DeclRefExpr *DeclRef2 = dyn_cast<DeclRefExpr>(RHS); 441 const DeclRefExpr *DeclRef1 = cast<DeclRefExpr>(Stmt1); 442 const DeclRefExpr *DeclRef2 = cast<DeclRefExpr>(Stmt2);
|
H A D | CheckSecuritySyntaxOnly.cpp | 185 static const DeclRefExpr* 194 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y)) 197 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y)) 203 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) { 250 const DeclRefExpr *drLHS = 251 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts()); 252 const DeclRefExpr *drRHS = 253 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts()); 269 const DeclRefExpr *drIn [all...] |
H A D | CheckSizeofPointer.cpp | 62 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens()))
|
/external/clang/lib/ARCMigrate/ |
H A D | TransARCAssign.cpp | 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
|
H A D | TransGCCalls.cpp | 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {
|
H A D | TransBlockObjCVariable.cpp | 52 if (DeclRefExpr * 53 ref = dyn_cast<DeclRefExpr>(castE->getSubExpr())) { 66 bool VisitDeclRefExpr(DeclRefExpr *E) {
|
H A D | TransProtectedScope.cpp | 27 SmallVectorImpl<DeclRefExpr *> &Refs; 30 LocalRefsCollector(SmallVectorImpl<DeclRefExpr *> &refs) 33 bool VisitDeclRefExpr(DeclRefExpr *E) { 99 SmallVector<DeclRefExpr *, 16> LocalRefs; 182 DeclRefExpr *DRE = LocalRefs[i];
|
H A D | TransAutoreleasePool.cpp | 57 if (DeclRefExpr *DE = dyn_cast<DeclRefExpr>(instance)) { 189 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(bop->getLHS())) { 263 bool VisitDeclRefExpr(DeclRefExpr *E) { 309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && 380 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(rec))
|
/external/clang/lib/CodeGen/ |
H A D | CGCUDARuntime.cpp | 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) {
|
/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 68 // Returns a Decl from a (Block)DeclRefExpr (if any) 70 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 100 // We found a binary operator with a DeclRefExpr on the LHS. We now check 125 // The DeclRefExpr is being assigned to - mark it as non-constant 156 // If we are taking the address of the DeclRefExpr, assume it is 201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head);
|
H A D | LiveVariables.cpp | 91 llvm::DenseMap<const DeclRefExpr *, unsigned> inAssignment; 209 void VisitDeclRefExpr(DeclRefExpr *DR); 342 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) 371 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { 387 DeclRefExpr *DR = nullptr; 394 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { 438 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) 517 // to determine if a DeclRefExpr appear [all...] |
H A D | UninitializedValues.cpp | 268 const DeclRefExpr *dr; 270 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {} 272 const DeclRefExpr *getDeclRefExpr() const { return dr; } 293 if (const DeclRefExpr *DRE = 294 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E))) 301 /// \brief Classify each DeclRefExpr as an initialization or a use. Any 302 /// DeclRefExpr which isn't explicitly classified will be assumed to have 315 llvm::DenseMap<const DeclRefExpr*, Class> Classification; 334 Class get(const DeclRefExpr *DRE) const { 335 llvm::DenseMap<const DeclRefExpr*, Clas [all...] |
H A D | BodyFarm.cpp | 59 /// Create a new DeclRefExpr for the referenced variable. 60 DeclRefExpr *makeDeclRefExpr(const VarDecl *D); 111 DeclRefExpr *ASTMaker::makeDeclRefExpr(const VarDecl *D) { 112 DeclRefExpr *DR = 113 DeclRefExpr::Create(/* Ctx = */ C, 207 DeclRefExpr *DR = M.makeDeclRefExpr(Block); 270 DeclRefExpr *DR = M.makeDeclRefExpr(PV);
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | LiveVariables.h | 27 class DeclRefExpr; 68 virtual void observerKill(const DeclRefExpr *DR) {}
|
/external/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 59 D = cast<DeclRefExpr>(E)->getDecl(); 120 const DeclRefExpr *DRE) 171 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 204 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
|
H A D | SemaOpenMP.cpp | 70 DeclRefExpr *RefExpr; 80 DeclRefExpr *RefExpr; 83 typedef llvm::SmallDenseMap<VarDecl *, DeclRefExpr *, 64> AlignedMapTy; 135 DeclRefExpr *addUniqueAligned(VarDecl *D, DeclRefExpr *NewDE); 138 void addDSA(VarDecl *D, DeclRefExpr *E, OpenMPClauseKind A); 302 DeclRefExpr *DSAStackTy::addUniqueAligned(VarDecl *D, DeclRefExpr *NewDE) { 316 void DSAStackTy::addDSA(VarDecl *D, DeclRefExpr *E, OpenMPClauseKind A) { 495 auto VD = cast<VarDecl>(cast<DeclRefExpr>(VarRe [all...] |
/external/clang/include/clang/AST/ |
H A D | EvaluatedExprVisitor.h | 38 void VisitDeclRefExpr(DeclRefExpr *E) { }
|
/external/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 44 class DeclRefExpr; 198 WeakObjectProfileTy(const DeclRefExpr *RE); 704 assert(isa<DeclRefExpr>(VarExpr) || isa<MemberExpr>(VarExpr)); 756 assert(isa<DeclRefExpr>(CapturingVarExpr) 761 assert(isa<DeclRefExpr>(CapturingVarExpr)
|
/external/lldb/include/lldb/Core/ |
H A D | ClangForward.h | 53 class DeclRefExpr;
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 132 SmallVector<DeclRefExpr *, 32> InnerDeclRefs; 134 SmallVector<DeclRefExpr *, 32> BlockDeclRefs; 401 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD); 402 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); 495 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs); 508 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs, 1749 DeclRefExpr *DR = cast<DeclRefExpr>(S->getElement()); 2133 DeclRefExpr *DRE = 2134 new (Context) DeclRefExpr(F [all...] |