/external/clang/include/clang/AST/ |
DeclAccessPair.h | 42 NamedDecl *getDecl() const { 53 set(getDecl(), AS); 59 operator NamedDecl*() const { return getDecl(); } 60 NamedDecl *operator->() const { return getDecl(); }
|
GlobalDecl.h | 60 const Decl *getDecl() const { return Value.getPointer(); } 63 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); 68 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
|
TemplateName.h | 414 TemplateDecl *getDecl() const { return Template; }
|
UnresolvedSet.h | 53 NamedDecl *getDecl() const { return ir->getDecl(); } 59 NamedDecl *operator*() const { return getDecl(); } 128 if (I->getDecl() == Old)
|
TypeLoc.h | 592 return getTypePtr()->getDecl(); 603 CXXRecordDecl *getDecl() const { 604 return getTypePtr()->getDecl(); 614 UnresolvedUsingTypenameDecl *getDecl() const { 615 return getTypePtr()->getDecl(); 628 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } 632 TagDecl *D = getDecl(); 643 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } [all...] |
ExprObjC.h | 491 ObjCIvarDecl *getDecl() { return D; } 492 const ObjCIvarDecl *getDecl() const { return D; } [all...] |
Stmt.h | 794 LabelDecl *getDecl() const { return TheDecl; } [all...] |
Expr.h | [all...] |
Type.h | [all...] |
/external/clang/lib/Analysis/ |
PseudoConstantAnalysis.cpp | 69 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) { 71 return DR->getDecl(); 96 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); 107 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts()); 142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts()); 185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); 202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
UninitializedValues.cpp | 273 const VarDecl *getDecl() const { return vd; } 295 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) 324 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {} 340 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 353 if (DRE && DRE->getDecl() == VD) 460 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl())); 464 return ::findVar(ex, cast<DeclContext>(ac.getDecl())); 675 reportUse(dr, cast<VarDecl>(dr->getDecl())); 678 vals[cast<VarDecl>(dr->getDecl())] = Initialized; 681 handler.handleSelfInit(cast<VarDecl>(dr->getDecl())); [all...] |
/external/clang/include/clang/Analysis/ |
CallGraph.h | 163 Decl *getDecl() const { return FD; }
|
AnalysisContext.h | 100 const Decl *getDecl() const { return D; } 230 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); }
|
ProgramPoint.h | 510 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); }
|
/external/clang/include/clang/Analysis/Analyses/ |
ThreadSafetyCommon.h | 99 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl())) 114 V.enterCFG(CFGraph, getDecl(), &CFGraph->getEntry()); 196 const NamedDecl *getDecl() const { 197 return dyn_cast<NamedDecl>(ACtx->getDecl());
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
CallEvent.h | 92 const Decl *getDecl() { return D; } 177 virtual const Decl *getDecl() const { 210 const Decl *D = getDecl(); 294 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl()); 393 const FunctionDecl *getDecl() const override { 394 return cast<FunctionDecl>(CallEvent::getDecl()); 398 const FunctionDecl *FD = getDecl(); 406 return RuntimeDefinition(AD->getDecl()); 446 const FunctionDecl *getDecl() const override; 493 const BlockDecl *getDecl() const override [all...] |
MemRegion.h | 567 const NamedDecl *getDecl() const { 606 const BlockDecl *getDecl() const { 648 const BlockDecl *getDecl() const { return BC->getDecl(); } 853 const Decl *getDecl() const { return D; } 877 const VarDecl *getDecl() const { return cast<VarDecl>(D); } 883 return getDecl()->getType(); 934 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } 938 return getDecl()->getType(); 970 const ObjCIvarDecl *getDecl() const [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 70 const RecordDecl *RD = RT->getDecl(); 86 if (!getDecl()) 104 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl()); 143 if (const Decl *callee = getDecl()) 186 const Decl *D = getDecl(); 226 if (const Decl *D = getDecl()) { 312 const FunctionDecl *D = getDecl(); 321 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl()); 331 const FunctionDecl *D = getDecl(); 384 const FunctionDecl *SimpleFunctionCall::getDecl() const [all...] |
MemRegion.cpp | 199 if (getDecl()->isBitField()) 232 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { 237 return getDecl()->getType(); 241 return QualType(getDecl()->getTypeForDecl(), 0); 333 VarRegion::ProfileRegion(ID, getDecl(), superRegion); 420 ProfileRegion(ID, getDecl(), isVirtual(), superRegion); 461 os << "code{" << getDecl()->getDeclName().getAsString() << '}'; 490 os << "base{" << superRegion << ',' << getDecl()->getName() << '}'; 503 os << superRegion << "->" << *getDecl(); 507 os << "ivar{" << superRegion << ',' << *getDecl() << '}'; [all...] |
/external/clang/include/clang/ASTMatchers/ |
ASTMatchersInternal.h | 496 /// \brief Metafunction to determine if type T has a member called getDecl. 498 struct Default { int getDecl; }; 503 // If T::getDecl exists, an ambiguity arises and CheckT will 507 static char (&f(CheckT<int Default::*, &C::getDecl>*))[1]; 571 /// \brief If getDecl exists as a member of U, returns whether the inner 572 /// matcher matches Node.getDecl(). 577 return matchesDecl(Node.getDecl(), Finder, Builder); 588 return matchesDecl(AsEnum->getDecl(), Finder, Builder); [all...] |
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 144 Decl *getDecl() const { 308 const Decl *getDecl() const { return Dcl; }
|
ASTReader.h | 558 Decl *getDecl() const { [all...] |
/external/clang/lib/AST/ |
Type.cpp | 52 ND = ty->getAs<RecordType>()->getDecl(); 54 ND = ty->getAs<EnumType>()->getDecl(); 56 ND = ty->getAs<TypedefType>()->getDecl(); 367 return RT->getDecl()->isClass(); 372 return RT->getDecl()->isStruct(); 377 return RT->getDecl()->isInterface(); 382 return RT->getDecl()->isStruct() || RT->getDecl()->isClass() || 383 RT->getDecl()->isInterface(); 394 return RT->getDecl()->isUnion() [all...] |
ExprConstant.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaInit.cpp | 423 SemaRef.Diag(Entity.getDecl()->getLocation(), 433 SemaRef.Diag(Entity.getDecl()->getLocation(), 435 << /*field*/1 << Entity.getDecl(); 529 const RecordDecl *RDecl = RType->getDecl(); 666 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); [all...] |