/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 | 60 const Decl *getDecl() const { return Value.getPointer(); } function in class:clang::GlobalDecl 63 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); 68 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(); } 90 if (I->getDecl() == Old)
|
H A D | TemplateName.h | 414 TemplateDecl *getDecl() const { return Template; } function in class:clang::QualifiedTemplateName
|
H A D | TypeLoc.h | 592 return getTypePtr()->getDecl(); 603 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc 604 return getTypePtr()->getDecl(); 614 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc 615 return getTypePtr()->getDecl(); 628 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc 632 TagDecl *D = getDecl(); 643 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::RecordTypeLoc 651 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::EnumTypeLoc 660 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc [all...] |
H A D | DeclTemplate.h | 548 static DeclType *getDecl(EntryType *D) { 571 return SETraits::getDecl(&*this->I)->getMostRecentDecl(); 729 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) { function in struct:clang::RedeclarableTemplateDecl::SpecEntryTraits
|
H A D | ExprObjC.h | 500 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr 501 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
|
H A D | Stmt.h | 804 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
|
H A D | Expr.h | 992 ValueDecl *getDecl() { return D; } function in class:clang::DeclRefExpr 993 const ValueDecl *getDecl() const { return D; } function in class:clang::DeclRefExpr 997 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
|
H A D | Type.h | 3187 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; } 3220 TypedefNameDecl *getDecl() const { return Decl; } function 3377 TagDecl *getDecl() const; 3399 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType 3400 return reinterpret_cast<RecordDecl*>(TagType::getDecl()); 3422 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType 3423 return reinterpret_cast<EnumDecl*>(TagType::getDecl()); 3578 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType 3588 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl()); 3956 CXXRecordDecl *getDecl() cons 4490 ObjCInterfaceDecl *getDecl() const { return Decl; } function in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCInterfaceType [all...] |
/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 69 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) { function in class:PseudoConstantAnalysis 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())) {
|
H A D | UninitializedValues.cpp | 274 const VarDecl *getDecl() const { return vd; } function in class:__anon907::FindVarResult 296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) 325 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {} 341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 355 if (DRE && DRE->getDecl() == VD) 519 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl())); 523 return ::findVar(ex, cast<DeclContext>(ac.getDecl())); 734 reportUse(dr, cast<VarDecl>(dr->getDecl())); 737 vals[cast<VarDecl>(dr->getDecl())] = Initialized; 740 handler.handleSelfInit(cast<VarDecl>(dr->getDecl())); [all...] |
/external/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 163 Decl *getDecl() const { return FD; } function in class:clang::CallGraphNode
|
H A D | AnalysisContext.h | 101 const Decl *getDecl() const { return D; } function in class:clang::AnalysisDeclContext 239 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); } function in class:clang::LocationContext
|
H A D | ProgramPoint.h | 510 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 141 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl())) 156 V.enterCFG(CFGraph, getDecl(), &CFGraph->getEntry()); 238 const NamedDecl *getDecl() const { function in class:clang::threadSafety::CFGWalker 239 return dyn_cast<NamedDecl>(ACtx->getDecl());
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | 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() cons function in class:SimpleFunctionCall 393 const FunctionDecl *CXXInstanceCall::getDecl() const { function in class:CXXInstanceCall [all...] |
H A D | MemRegion.cpp | 199 if (getDecl()->isBitField()) 232 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { function in class:ObjCIvarRegion 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/Serialization/ |
H A D | ASTWriter.h | 148 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType 316 const Decl *getDecl() const { return Dcl; } function in class:clang::ASTWriter::DeclUpdate
|
H A D | ASTReader.h | 606 Decl *getDecl() const { function in class:clang::ASTReader::HiddenName
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 92 const Decl *getDecl() { return D; } function in class:clang::ento::RuntimeDefinition 177 virtual const Decl *getDecl() const { function in class:clang::ento::CallEvent 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() cons [all...] |
H A D | MemRegion.h | 567 const NamedDecl *getDecl() const { function in class:clang::ento::FunctionTextRegion 606 const BlockDecl *getDecl() const { function in class:clang::ento::BlockTextRegion 648 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion 853 const Decl *getDecl() const { return D; } function in class:clang::ento::DeclRegion 877 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion 883 return getDecl()->getType(); 934 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion 938 return getDecl()->getType(); 970 const ObjCIvarDecl *getDecl() cons 1091 const CXXRecordDecl *getDecl() const { return Data.getPointer(); } function in class:clang::ento::CXXBaseObjectRegion [all...] |
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersInternal.h | 559 /// \brief Metafunction to determine if type T has a member called getDecl. 561 struct Default { int getDecl; }; member in struct:clang::ast_matchers::internal::has_getDecl::Default 566 // If T::getDecl exists, an ambiguity arises and CheckT will 570 static char (&f(CheckT<int Default::*, &C::getDecl>*))[1]; 661 /// \brief If getDecl exists as a member of U, returns whether the inner 662 /// matcher matches Node.getDecl(). 667 return matchesDecl(Node.getDecl(), Finder, Builder); 678 return matchesDecl(AsEnum->getDecl(), Finder, Builder);
|
/external/clang/lib/AST/ |
H A D | Type.cpp | 52 ND = ty->getAs<RecordType>()->getDecl(); 54 ND = ty->getAs<EnumType>()->getDecl(); 56 ND = ty->getAs<TypedefType>()->getDecl(); 359 return RT->getDecl()->isClass(); 364 return RT->getDecl()->isStruct(); 369 return RT->getDecl()->isInterface(); 374 RecordDecl *RD = RT->getDecl(); 387 return RT->getDecl()->isUnion(); 428 if (RT->getDecl()->isStruct()) 434 if (!RT->getDecl() 1888 TagDecl *TagType::getDecl() const { function in class:TagType 1939 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType [all...] |
/external/clang/lib/Sema/ |
H A D | SemaInit.cpp | 423 SemaRef.Diag(Entity.getDecl()->getLocation(), 433 SemaRef.Diag(Entity.getDecl()->getLocation(), 435 << /*field*/1 << Entity.getDecl(); 533 const RecordDecl *RDecl = RType->getDecl(); 673 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); 921 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1570 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { 1598 RecordDecl* structDecl = DeclType->getAs<RecordType>()->getDecl(); 1610 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1647 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 2677 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity [all...] |