/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)
|
H A D | TemplateName.h | 386 TemplateDecl *getDecl() const { return Template; } function in class:clang::QualifiedTemplateName
|
H A D | TypeLoc.h | 625 return getTypePtr()->getDecl(); 636 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc 637 return getTypePtr()->getDecl(); 647 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc 648 return getTypePtr()->getDecl(); 661 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc 665 TagDecl *D = getDecl(); 676 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::RecordTypeLoc 684 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::EnumTypeLoc 693 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc [all...] |
H A D | DeclTemplate.h | 647 static DeclType *getDecl(EntryType *D) { 670 return SETraits::getDecl(&*this->I)->getMostRecentDecl(); 828 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) { function in struct:clang::RedeclarableTemplateDecl::SpecEntryTraits
|
H A D | ExprObjC.h | 505 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr 506 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
|
H A D | Stmt.h | 806 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
|
H A D | Expr.h | 1017 ValueDecl *getDecl() { return D; } function in class:clang::final 1018 const ValueDecl *getDecl() const { return D; } function in class:clang::final 1022 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
|
H A D | Type.h | 3486 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; } 3519 TypedefNameDecl *getDecl() const { return Decl; } function 3698 TagDecl *getDecl() const; 3719 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType 3720 return reinterpret_cast<RecordDecl*>(TagType::getDecl()); 3742 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType 3743 return reinterpret_cast<EnumDecl*>(TagType::getDecl()); 3952 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType 3962 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl()); 4334 CXXRecordDecl *getDecl() cons 4951 ObjCInterfaceDecl *getDecl() const { return Decl; } function in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCInterfaceType [all...] |
/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 | UninitializedValues.cpp | 274 const VarDecl *getDecl() const { return vd; } function in class:__anon1524::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 243 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); } function in class:clang::LocationContext
|
H A D | ProgramPoint.h | 533 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 144 static const Decl *getDecl(const DeclRefExpr *DR) { return DR->getDecl(); } function in class:__anon1999::CheckOverflowOps 145 static const Decl *getDecl(const MemberExpr *ME) { function in class:__anon1999::CheckOverflowOps 154 return getDecl(CheckDR) == getDecl(DR) && Pred(Check);
|
/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/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...] |
H A D | MemRegion.h | 563 const NamedDecl *getDecl() const { function in class:clang::ento::FunctionCodeRegion 602 const BlockDecl *getDecl() const { function in class:clang::ento::BlockCodeRegion 644 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion 849 const Decl *getDecl() const { return D; } function in class:clang::ento::DeclRegion 873 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion 879 return getDecl()->getType(); 930 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion 934 return getDecl()->getType(); 966 const ObjCIvarDecl *getDecl() cons 1087 const CXXRecordDecl *getDecl() const { return Data.getPointer(); } function in class:clang::ento::CXXBaseObjectRegion [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
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/include/clang/Serialization/ |
H A D | ASTWriter.h | 162 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType 336 const Decl *getDecl() const { return Dcl; } function in class:clang::ASTWriter::DeclUpdate
|
/external/clang/lib/Sema/ |
H A D | SemaInit.cpp | 458 SemaRef.Diag(Entity.getDecl()->getLocation(), 470 SemaRef.Diag(Entity.getDecl()->getLocation(), 472 << /*field*/1 << Entity.getDecl(); 536 if (!RType->getDecl()->isUnion()) 623 const RecordDecl *RDecl = RType->getDecl(); 803 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); 1053 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1718 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { 1743 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); 1755 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 2922 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity [all...] |
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1158 const ValueDecl *getDecl() const { function in struct:__anon1441::MemberPtr 1172 V = APValue(getDecl(), isDerivedMember(), Path); 1214 if (!getDecl()) 1228 if (!getDecl()) 1242 if (!LHS.getDecl() || !RHS.getDecl()) 1243 return !LHS.getDecl() && !RHS.getDecl(); 1244 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl() [all...] |