/external/clang/lib/StaticAnalyzer/Core/ |
CheckerHelpers.cpp | 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); 52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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);
|
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()))
|
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 *DR = dyn_cast<DeclRefExpr>(Ex) [all...] |
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)) {
|
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);
|
CheckSecuritySyntaxOnly.cpp | 186 static const DeclRefExpr* 195 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y)) 198 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y)) 204 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) { 251 const DeclRefExpr *drLHS = 252 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts()); 253 const DeclRefExpr *drRHS = 254 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts()); 270 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS) [all...] |
CheckSizeofPointer.cpp | 62 if (!isa<DeclRefExpr>(ArgEx->IgnoreParens()))
|
/external/clang/include/clang/Analysis/Analyses/ |
LiveVariables.h | 27 class DeclRefExpr; 66 virtual void observerKill(const DeclRefExpr *DR) {}
|
/external/clang/lib/ARCMigrate/ |
TransARCAssign.cpp | 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts());
|
TransGCCalls.cpp | 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) {
|
TransBlockObjCVariable.cpp | 52 if (DeclRefExpr * 53 ref = dyn_cast<DeclRefExpr>(castE->getSubExpr())) { 66 bool VisitDeclRefExpr(DeclRefExpr *E) {
|
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];
|
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/ |
CGCUDARuntime.cpp | 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) {
|
CGStmtOpenMP.cpp | 174 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); 177 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl()); 178 auto *VDInit = cast<VarDecl>(cast<DeclRefExpr>(*InitsRef)->getDecl()); 180 DeclRefExpr DRE( 250 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); 251 auto VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl()); 284 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); 304 auto *SrcVD = cast<VarDecl>(cast<DeclRefExpr>(*ISrcRef)->getDecl()); 305 auto *DestVD = cast<VarDecl>(cast<DeclRefExpr>(*IDestRef)->getDecl()); 338 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()) [all...] |
/external/clang/lib/Analysis/ |
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);
|
LiveVariables.cpp | 90 llvm::DenseMap<const DeclRefExpr *, unsigned> inAssignment; 208 void VisitDeclRefExpr(DeclRefExpr *DR); 341 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) 367 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { 383 DeclRefExpr *DR = nullptr; 390 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { 434 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) 513 // to determine if a DeclRefExpr appears in such a context, and thu [all...] |
UninitializedValues.cpp | 269 const DeclRefExpr *dr; 271 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {} 273 const DeclRefExpr *getDeclRefExpr() const { return dr; } 294 if (const DeclRefExpr *DRE = 295 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E))) 302 /// \brief Classify each DeclRefExpr as an initialization or a use. Any 303 /// DeclRefExpr which isn't explicitly classified will be assumed to have 316 llvm::DenseMap<const DeclRefExpr*, Class> Classification; 335 Class get(const DeclRefExpr *DRE) const { 336 llvm::DenseMap<const DeclRefExpr*, Class>::const_iterator [all...] |
BodyFarm.cpp | 60 /// Create a new DeclRefExpr for the referenced variable. 61 DeclRefExpr *makeDeclRefExpr(const VarDecl *D); 112 DeclRefExpr *ASTMaker::makeDeclRefExpr(const VarDecl *D) { 113 DeclRefExpr *DR = 114 DeclRefExpr::Create(/* Ctx = */ C, 208 DeclRefExpr *DR = M.makeDeclRefExpr(Block); 269 DeclRefExpr *DR = M.makeDeclRefExpr(PV);
|
/external/clang/lib/Sema/ |
ScopeInfo.cpp | 63 D = cast<DeclRefExpr>(E)->getDecl(); 139 const DeclRefExpr *DRE) 192 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) 225 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E))
|
/external/clang/include/clang/AST/ |
EvaluatedExprVisitor.h | 38 void VisitDeclRefExpr(DeclRefExpr *E) { }
|
/external/lldb/include/lldb/Core/ |
ClangForward.h | 53 class DeclRefExpr;
|
/external/clang/include/clang/Sema/ |
ScopeInfo.h | 205 WeakObjectProfileTy(const DeclRefExpr *RE); 737 assert(isa<DeclRefExpr>(VarExpr) || isa<MemberExpr>(VarExpr)); 789 assert(isa<DeclRefExpr>(CapturingVarExpr) 794 assert(isa<DeclRefExpr>(CapturingVarExpr)
|
/external/clang/lib/Frontend/Rewrite/ |
RewriteModernObjC.cpp | 134 SmallVector<DeclRefExpr *, 32> InnerDeclRefs; 136 SmallVector<DeclRefExpr *, 32> BlockDeclRefs; 392 Stmt *RewriteBlockDeclRefExpr(DeclRefExpr *VD); 393 Stmt *RewriteLocalVariableExternalStorage(DeclRefExpr *DRE); 486 const SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs); 499 SmallVectorImpl<DeclRefExpr *> &InnerBlockDeclRefs, [all...] |