/external/clang/include/clang/AST/ |
H A D | DeclAccessPair.h | 41 NamedDecl *getDecl() const { function in class:clang::DeclAccessPair 52 set(getDecl(), AS); 59 operator NamedDecl*() const { return getDecl(); } 60 NamedDecl *operator->() const { return getDecl(); }
|
H A D | GlobalDecl.h | 59 const Decl *getDecl() const { return Value.getPointer(); } function in class:clang::GlobalDecl 62 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!"); 67 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
|
H A D | UnresolvedSet.h | 50 NamedDecl *getDecl() const { return ir->getDecl(); } function in class:clang::UnresolvedSetIterator 55 NamedDecl *operator*() const { return getDecl(); } 124 if (I->getDecl() == Old)
|
H A D | TemplateName.h | 410 TemplateDecl *getDecl() const { return Template; } function in class:clang::QualifiedTemplateName
|
H A D | TypeLoc.h | 535 return getTypePtr()->getDecl(); 546 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc 547 return getTypePtr()->getDecl(); 557 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc 558 return getTypePtr()->getDecl(); 571 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc 575 TagDecl *D = getDecl(); 586 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::RecordTypeLoc 594 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::EnumTypeLoc 603 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc [all...] |
H A D | ExprObjC.h | 480 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr 481 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
|
H A D | Stmt.h | 775 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
|
H A D | Expr.h | 890 ValueDecl *getDecl() { return D; } function in class:clang::DeclRefExpr 891 const ValueDecl *getDecl() const { return D; } function in class:clang::DeclRefExpr 895 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
|
H A D | Type.h | 3006 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; } 3040 TypedefNameDecl *getDecl() const { return Decl; } function 3202 TagDecl *getDecl() const; 3225 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType 3226 return reinterpret_cast<RecordDecl*>(TagType::getDecl()); 3249 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType 3250 return reinterpret_cast<EnumDecl*>(TagType::getDecl()); 3394 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType 3404 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl()); 3785 CXXRecordDecl *getDecl() cons 4327 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()); 186 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts()); 203 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
|
H A D | UninitializedValues.cpp | 260 const VarDecl *getDecl() const { return vd; } function in class:__anon4::FindVarResult 282 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) 311 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {} 327 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); 340 if (DRE && DRE->getDecl() == VD) 435 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl())); 439 return ::findVar(ex, cast<DeclContext>(ac.getDecl())); 623 reportUse(dr, cast<VarDecl>(dr->getDecl())); 626 vals[cast<VarDecl>(dr->getDecl())] = Initialized; 630 handler->handleSelfInit(cast<VarDecl>(dr->getDecl())); [all...] |
/external/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 171 Decl *getDecl() const { return FD; } function in class:clang::CallGraphNode
|
H A D | AnalysisContext.h | 108 const Decl *getDecl() const { return D; } function in class:clang::AnalysisDeclContext 218 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); } function in class:clang::LocationContext
|
H A D | ProgramPoint.h | 426 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 68 const RecordDecl *RD = RT->getDecl(); 85 if (!getDecl()) 203 const Decl *D = getDecl(); 238 if (const Decl *D = getDecl()) { 280 const FunctionDecl *D = getDecl(); 288 const FunctionDecl *D = getDecl(); 298 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl()); 308 const FunctionDecl *D = getDecl(); 361 const FunctionDecl *SimpleCall::getDecl() const { function in class:SimpleCall 370 const FunctionDecl *CXXInstanceCall::getDecl() cons function in class:CXXInstanceCall [all...] |
H A D | MemRegion.cpp | 227 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { function in class:ObjCIvarRegion 232 return getDecl()->getType(); 327 VarRegion::ProfileRegion(ID, getDecl(), superRegion); 451 os << "code{" << getDecl()->getDeclName().getAsString() << '}'; 486 os << superRegion << "->" << *getDecl(); 490 os << "ivar{" << superRegion << ',' << *getDecl() << '}'; 562 os << getDecl()->getName(); 571 os << "." << getDecl()->getName(); 679 if (cast<DeclContext>(SFC->getDecl()) == DC) 691 if (VR->getDecl() [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 134 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 93 const Decl *getDecl() { return D; } function in class:clang::ento::RuntimeDefinition 179 virtual const Decl *getDecl() const { function in class:clang::ento::CallEvent 212 const Decl *D = getDecl(); 361 virtual const FunctionDecl *getDecl() const { function in class:clang::ento::AnyFunctionCall 362 return cast<FunctionDecl>(CallEvent::getDecl()); 366 const FunctionDecl *FD = getDecl(); 400 virtual const FunctionDecl *getDecl() const; 460 /// This is not an override of getDecl() because AnyFunctionCall has already 466 return BR->getDecl(); 509 virtual const FunctionDecl *getDecl() cons 678 virtual const CXXConstructorDecl *getDecl() const { function in class:clang::ento::CXXConstructorCall 720 virtual const FunctionDecl *getDecl() const { function in class:clang::ento::CXXAllocatorCall 780 virtual const ObjCMethodDecl *getDecl() const { function in class:clang::ento::ObjCMethodCall [all...] |
H A D | MemRegion.h | 542 const FunctionDecl *getDecl() const { function in class:clang::ento::FunctionTextRegion 581 const BlockDecl *getDecl() const { function in class:clang::ento::BlockTextRegion 621 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion 825 const Decl *getDecl() const { return D; } function in class:clang::ento::DeclRegion 849 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion 855 return getDecl()->getType(); 905 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion 909 return getDecl()->getType(); 939 const ObjCIvarDecl *getDecl() cons 1056 const CXXRecordDecl *getDecl() const { return decl; } function in class:clang::ento::CXXBaseObjectRegion [all...] |
/external/clang/lib/AST/ |
H A D | Type.cpp | 51 ND = ty->getAs<RecordType>()->getDecl(); 53 ND = ty->getAs<EnumType>()->getDecl(); 55 ND = ty->getAs<TypedefType>()->getDecl(); 352 return RT->getDecl()->isClass(); 357 return RT->getDecl()->isStruct(); 362 return RT->getDecl()->isInterface(); 367 return RT->getDecl()->isStruct() || RT->getDecl()->isClass() || 368 RT->getDecl()->isInterface(); 379 return RT->getDecl() 1790 TagDecl *TagType::getDecl() const { function in class:TagType 1798 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType [all...] |
H A D | ExprConstant.cpp | 772 const ValueDecl *getDecl() const { function in struct:__anon3490::MemberPtr 786 V = APValue(getDecl(), isDerivedMember(), Path); 828 if (!getDecl()) 842 if (!getDecl()) 856 if (!LHS.getDecl() || !RHS.getDecl()) 857 return !LHS.getDecl() && !RHS.getDecl(); 858 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl() [all...] |
/external/clang/lib/Sema/ |
H A D | SemaInit.cpp | 361 if (RType->getDecl()->isUnion() && 368 Field = RType->getDecl()->field_begin(), 369 FieldEnd = RType->getDecl()->field_end(); 384 if (RType->getDecl()->isUnion()) 505 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl(); 692 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1286 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) { 1314 RecordDecl* structDecl = DeclType->getAs<RecordType>()->getDecl(); 1325 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 1344 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl(); 2343 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity [all...] |