/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 | 53 NamedDecl *getDecl() const { return ir->getDecl(); } function in class:clang::UnresolvedSetIterator 59 NamedDecl *operator*() const { return getDecl(); } 128 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 | ExprObjC.h | 491 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr 492 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
|
H A D | Stmt.h | 794 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
|
H A D | Expr.h | 985 ValueDecl *getDecl() { return D; } function in class:clang::DeclRefExpr 986 const ValueDecl *getDecl() const { return D; } function in class:clang::DeclRefExpr 990 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
|
H A D | Type.h | 3131 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; } 3164 TypedefNameDecl *getDecl() const { return Decl; } function 3321 TagDecl *getDecl() const; 3343 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType 3344 return reinterpret_cast<RecordDecl*>(TagType::getDecl()); 3366 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType 3367 return reinterpret_cast<EnumDecl*>(TagType::getDecl()); 3522 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType 3532 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl()); 3900 CXXRecordDecl *getDecl() cons 4434 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 | 273 const VarDecl *getDecl() const { return vd; } function in class:__anon17787::FindVarResult 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/ |
H A D | CallGraph.h | 163 Decl *getDecl() const { return FD; } function in class:clang::CallGraphNode
|
H A D | AnalysisContext.h | 100 const Decl *getDecl() const { return D; } function in class:clang::AnalysisDeclContext 230 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 | 99 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl())) 114 V.enterCFG(CFGraph, getDecl(), &CFGraph->getEntry()); 196 const NamedDecl *getDecl() const { function in class:clang::threadSafety::CFGWalker 197 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 | 144 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType 308 const Decl *getDecl() const { return Dcl; } function in class:clang::ASTWriter::DeclUpdate
|
H A D | ASTReader.h | 558 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 | 496 /// \brief Metafunction to determine if type T has a member called getDecl. 498 struct Default { int getDecl; }; member in struct:clang::ast_matchers::internal::has_getDecl::Default 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);
|
/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(); 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() 1871 TagDecl *TagType::getDecl() const { function in class:TagType 1922 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType [all...] |
H A D | ExprConstant.cpp | 1003 const ValueDecl *getDecl() const { function in struct:__anon17735::MemberPtr 1017 V = APValue(getDecl(), isDerivedMember(), Path); 1059 if (!getDecl()) 1073 if (!getDecl()) 1087 if (!LHS.getDecl() || !RHS.getDecl()) 1088 return !LHS.getDecl() && !RHS.getDecl(); 1089 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl() [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(); 529 const RecordDecl *RDecl = RType->getDecl(); 666 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); 855 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1493 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { 1521 RecordDecl* structDecl = DeclType->getAs<RecordType>()->getDecl(); 1533 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1569 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 2644 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity [all...] |