/external/clang/lib/StaticAnalyzer/Core/ |
CheckerHelpers.cpp | 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); 38 if (DR && isa<EnumConstantDecl>(DR->getDecl())) 52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); 54 if (DR) 55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
|
/external/clang/lib/Analysis/ |
PseudoConstantAnalysis.cpp | 69 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) 70 return DR->getDecl(); 201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head); 202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
LiveVariables.cpp | 214 void VisitDeclRefExpr(DeclRefExpr *DR); 339 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) 340 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 351 observer->observerKill(DR); 368 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { 369 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) 370 if (!isAlwaysAlive(D) && LV.inAssignment.find(DR) == LV.inAssignment.end()) 385 DeclRefExpr *DR = 0; 392 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { 393 VD = cast<VarDecl>(DR->getDecl()) [all...] |
UninitializedValues.cpp | 329 const DeclRefExpr *dr; member in class:__anon4672::FindVarResult 331 FindVarResult(VarDecl *vd, DeclRefExpr *dr) : vd(vd), dr(dr) {} 333 const DeclRefExpr *getDeclRefExpr() const { return dr; } 370 void VisitDeclRefExpr(DeclRefExpr *dr); 407 if (DeclRefExpr *dr = dyn_cast<DeclRefExpr>(ex->IgnoreParenCasts())) 408 if (VarDecl *vd = dyn_cast<VarDecl>(dr->getDecl())) 410 return FindVarResult(vd, dr); 450 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *dr) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DereferenceChecker.cpp | 58 const DeclRefExpr *DR = cast<DeclRefExpr>(Ex); 59 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 62 Ranges.push_back(DR->getSourceRange()); 164 if (const DeclRefExpr *DR = 166 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
DeadStoresChecker.cpp | 171 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, 173 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) 174 CheckVarDecl(VD, DR, Val, dsk, Live); 187 const DeclRefExpr *DR; 189 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) 190 if (DR->getDecl() == VD) 193 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) 194 if (DR->getDecl() == VD) 214 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) 215 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) [all...] |
IdempotentOperationChecker.cpp | 94 static bool isConstantOrPseudoConstant(const DeclRefExpr *DR, 495 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); 496 if (!DR) 499 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); 701 const DeclRefExpr *DR, 704 if (DR->getType().isConstQualified()) 708 if (isa<EnumConstantDecl>(DR->getDecl())) 711 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); 728 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); 730 if (DR) [all...] |
/bootable/recovery/minadbd/ |
adb.h | 338 # define DR(...) \ 352 # define DR(...) ((void)0)
|
/system/core/adb/ |
adb.h | 389 # define DR(...) \ 403 # define DR(...) ((void)0)
|
/external/qemu/hw/ |
goldfish_pipe.c | 39 # define DR(...) D(__VA_ARGS__) 41 # define DR(...) (void)0 1081 DR("%s: command=%d (0x%x)", __FUNCTION__, value, value); 1086 DR("%s: size=%d (0x%x)", __FUNCTION__, value, value); 1091 DR("%s: address=%d (0x%x)", __FUNCTION__, value, value); 1096 DR("%s: channel=%d (0x%x)", __FUNCTION__, value, value); 1114 DR("%s: REG_STATUS status=%d (0x%x)", __FUNCTION__, dev->status, dev->status); 1120 DR("%s: channel=0x%x wanted=%d", __FUNCTION__, 1132 DR("%s: no signaled channels", __FUNCTION__); 1136 DR("%s: wakes %d", __FUNCTION__, dev->wakes) [all...] |
/external/clang/lib/Sema/ |
SemaStmt.cpp | [all...] |
SemaChecking.cpp | [all...] |
/external/clang/lib/Rewrite/ |
RewriteModernObjC.cpp | [all...] |
RewriteObjC.cpp | [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | [all...] |