/external/clang/include/clang/AST/ |
H A D | DeclAccessPair.h | 42 NamedDecl *getDecl() const { function in class:clang::DeclAccessPair 53 set(getDecl(), AS); 59 operator NamedDecl*() const { return getDecl(); } 60 NamedDecl *operator->() const { return getDecl(); }
|
H A D | GlobalDecl.h | 62 const Decl *getDecl() const { return Value.getPointer(); } function in class:clang::GlobalDecl 65 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); 70 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
|
H A D | UnresolvedSet.h | 44 NamedDecl *getDecl() const { return I->getDecl(); } function in class:clang::UnresolvedSetIterator 50 NamedDecl *operator*() const { return getDecl(); } 95 if (I->getDecl() == Old)
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | PseudoConstantAnalysis.h | 33 inline static const Decl *getDecl(const Expr *E);
|
/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 67 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) { function in class:PseudoConstantAnalysis 69 return DR->getDecl(); 94 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); 105 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts()); 140 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); 183 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); 200 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
H A D | CocoaConventions.cpp | 29 StringRef TDName = TD->getDecl()->getIdentifier()->getName(); 35 RetTy = TD->getDecl()->getUnderlyingType();
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 37 if (DR && isa<EnumConstantDecl>(DR->getDecl())) 52 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) 86 VD = dyn_cast_or_null<VarDecl>(DE->getDecl());
|
H A D | CallEvent.cpp | 67 const RecordDecl *RD = RT->getDecl(); 93 if (!getDecl()) 122 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl()); 161 if (const Decl *callee = getDecl()) 204 const Decl *D = getDecl(); 254 if (const Decl *D = getDecl()) { 340 const FunctionDecl *D = getDecl(); 349 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl()); 359 const FunctionDecl *D = getDecl(); 412 const FunctionDecl *SimpleFunctionCall::getDecl() cons function in class:SimpleFunctionCall 421 const FunctionDecl *CXXInstanceCall::getDecl() const { function in class:CXXInstanceCall [all...] |
H A D | MemRegion.cpp | 195 if (getDecl()->isBitField()) 228 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { function in class:ObjCIvarRegion 233 return getDecl()->getType(); 237 return QualType(getDecl()->getTypeForDecl(), 0); 329 VarRegion::ProfileRegion(ID, getDecl(), superRegion); 416 ProfileRegion(ID, getDecl(), isVirtual(), superRegion); 457 os << "code{" << getDecl()->getDeclName().getAsString() << '}'; 486 os << "base{" << superRegion << ',' << getDecl()->getName() << '}'; 499 os << superRegion << "->" << *getDecl(); 503 os << "ivar{" << superRegion << ',' << *getDecl() << '}'; [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | TransARCAssign.cpp | 50 if (declRef && isa<VarDecl>(declRef->getDecl())) { 55 VarDecl *var = cast<VarDecl>(declRef->getDecl());
|
H A D | TransBlockObjCVariable.cpp | 54 if (ref->getDecl() == Var) { 67 if (E->getDecl() == Var)
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | BoolAssignmentChecker.cpp | 47 return TT->getDecl()->getName() == "BOOL" || // Objective-C 48 TT->getDecl()->getName() == "_Bool" || // stdbool.h < C99 49 TT->getDecl()->getName() == "Boolean"; // MacTypes.h
|
H A D | NoReturnFunctionChecker.cpp | 45 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(CE.getDecl())) 91 if (const ObjCMethodDecl *MD = Msg.getDecl()) {
|
H A D | UndefCapturedBlockVarChecker.cpp | 40 if (BR->getDecl() == VD) 69 const VarDecl *VD = VR->getDecl();
|
H A D | IdenticalExprChecker.cpp | 72 BR.EmitBasicReport(AC->getDecl(), Checker, 121 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", 144 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", 174 BR.EmitBasicReport(AC->getDecl(), Checker, 233 if (DeclRef1->getDecl() == DeclRef2->getDecl()) { 262 BR.EmitBasicReport(AC->getDecl(), Checker, 284 AC->getDecl(), Checker, 460 return DeclRef1->getDecl() == DeclRef2->getDecl(); [all...] |
H A D | CheckSecuritySyntaxOnly.cpp | 204 const NamedDecl *ND = DR->getDecl(); 262 const VarDecl *vdLHS = drLHS ? dyn_cast<VarDecl>(drLHS->getDecl()) : nullptr; 263 const VarDecl *vdRHS = drRHS ? dyn_cast<VarDecl>(drRHS->getDecl()) : nullptr; 276 assert(drInc->getDecl()); 277 const DeclRefExpr *drCond = vdLHS == drInc->getDecl() ? drLHS : drRHS; 283 os << "Variable '" << drCond->getDecl()->getName() 294 BR.EmitBasicReport(AC->getDecl(), filter.checkName_FloatLoopCounter, 329 BR.EmitBasicReport(AC->getDecl(), filter.checkName_gets, 369 BR.EmitBasicReport(AC->getDecl(), filter.checkName_getpw, 410 BR.EmitBasicReport(AC->getDecl(), filte [all...] |
H A D | ObjCSelfInitChecker.cpp | 174 C.getCurrentAnalysisDeclContext()->getDecl()))) 201 C.getCurrentAnalysisDeclContext()->getDecl()))) 214 C.getCurrentAnalysisDeclContext()->getDecl()))) 242 C.getCurrentAnalysisDeclContext()->getDecl()))) 270 C.getCurrentAnalysisDeclContext()->getDecl()))) 305 C.getCurrentAnalysisDeclContext()->getDecl()))) 420 return (DR->getDecl() == analCtx->getSelfDecl());
|
H A D | DeadStoresChecker.cpp | 56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl())) 204 BR.EmitBasicReport(AC->getDecl(), Checker, BugType, "Dead store", os.str(), 231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) 248 if (DR->getDecl() == VD) 252 if (DR->getDecl() == VD) 273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { 291 if (VD == dyn_cast<VarDecl>(RhsDR->getDecl())) 362 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { 419 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
|
H A D | CStringSyntaxChecker.cpp | 42 return D1->getDecl() == D2->getDecl(); 76 return D->getDecl()->getName();
|
H A D | AnalyzerStatsChecker.cpp | 52 const Decl *D = LC->getDecl(); 60 if (D != P.getLocationContext()->getDecl())
|
H A D | ReturnUndefChecker.cpp | 47 QualType RT = CallEvent::getDeclaredResultType(SFC->getDecl()); 64 if (RT.isNull() && isa<BlockDecl>(SFC->getDecl()) &&
|
/external/clang/lib/AST/ |
H A D | CXXInheritance.cpp | 153 cast_or_null<CXXRecordDecl>(Ty->getDecl()->getDefinition()); 268 ->getDecl()); 330 VBase = cast<CXXRecordDecl>(Record->getDecl()); 342 HidingClass = cast<CXXRecordDecl>(Record->getDecl()); 361 return Specifier->getType()->castAs<RecordType>()->getDecl() 371 Specifier->getType()->castAs<RecordType>()->getDecl() 379 Specifier->getType()->castAs<RecordType>()->getDecl(); 395 Specifier->getType()->castAs<RecordType>()->getDecl(); 412 Specifier->getType()->castAs<RecordType>()->getDecl(); 428 Specifier->getType()->castAs<RecordType>()->getDecl(); [all...] |
H A D | VTTBuilder.cpp | 65 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); 91 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); 155 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl());
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 78 return TTy->getDecl()->hasAttr<MayAliasAttr>(); 82 if (TTy->getDecl()->hasAttr<MayAliasAttr>()) 156 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) 182 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 233 const RecordDecl *RD = TTy->getDecl()->getDefinition(); 253 const RecordDecl *RD = TTy->getDecl()->getDefinition();
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 117 const Decl *getDecl() { return D; } function in class:clang::ento::RuntimeDefinition 203 virtual const Decl *getDecl() const { function in class:clang::ento::CallEvent 236 const Decl *D = getDecl(); 334 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl()); 433 const FunctionDecl *getDecl() const override { 434 return cast<FunctionDecl>(CallEvent::getDecl()); 438 const FunctionDecl *FD = getDecl(); 446 return RuntimeDefinition(AD->getDecl()); 486 const FunctionDecl *getDecl() const override; 534 const BlockDecl *getDecl() cons [all...] |