Searched defs:getDecl (Results 1 - 19 of 19) sorted by relevance

/external/clang/include/clang/AST/
H A DDeclAccessPair.h41 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 DGlobalDecl.h59 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 DUnresolvedSet.h50 NamedDecl *getDecl() const { return ir->getDecl(); } function in class:clang::UnresolvedSetIterator
55 NamedDecl *operator*() const { return getDecl(); }
124 if (I->getDecl() == Old)
H A DTemplateName.h410 TemplateDecl *getDecl() const { return Template; } function in class:clang::QualifiedTemplateName
H A DExprObjC.h198 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr
199 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
H A DTypeLoc.h531 return getTypePtr()->getDecl();
542 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc
543 return getTypePtr()->getDecl();
553 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc
554 return getTypePtr()->getDecl();
567 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc
571 return getDecl()->isCompleteDefinition() &&
572 (getNameLoc().isInvalid() || getNameLoc() == getDecl()->getLocation());
581 RecordDecl *getDecl() cons function in class:clang::RecordTypeLoc
589 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::EnumTypeLoc
598 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc
[all...]
H A DStmt.h685 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
H A DExpr.h822 ValueDecl *getDecl() { return D; } function in class:clang::DeclRefExpr
823 const ValueDecl *getDecl() const { return D; } function in class:clang::DeclRefExpr
827 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
4112 VarDecl *getDecl() { return D; } function in class:clang::StringLiteral::OffsetOfExpr::CallExpr::DesignatedInitExpr::BlockDeclRefExpr
4113 const VarDecl *getDecl() const { return D; } function in class:clang::StringLiteral::OffsetOfExpr::CallExpr::DesignatedInitExpr::BlockDeclRefExpr
H A DType.h2847 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; }
2881 TypedefNameDecl *getDecl() const { return Decl; } function
3045 TagDecl *getDecl() const;
3070 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType
3071 return reinterpret_cast<RecordDecl*>(TagType::getDecl());
3097 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType
3098 return reinterpret_cast<EnumDecl*>(TagType::getDecl());
3245 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType
3255 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl());
3600 CXXRecordDecl *getDecl() cons
4134 ObjCInterfaceDecl *getDecl() const { return Decl; } function in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCInterfaceType
[all...]
/external/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp68 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) { function in class:PseudoConstantAnalysis
70 return DR->getDecl();
72 return BDR->getDecl();
97 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts());
108 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts());
143 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts());
187 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts());
204 if (const VarDecl *VD = dyn_cast<VarDecl>(BDR->getDecl())) {
215 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
H A DUninitializedValues.cpp334 const VarDecl *getDecl() const { return vd; } function in class:__anon2784::FindVarResult
378 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
408 if (VarDecl *vd = dyn_cast<VarDecl>(dr->getDecl()))
426 vd = res.getDecl();
453 if (const VarDecl *vd = dyn_cast<VarDecl>(dr->getDecl()))
480 if (DR->getDecl() == vd) {
508 if (const VarDecl *vd = res.getDecl()) {
527 if (const VarDecl *vd = res.getDecl()) {
547 if (res.getDecl()) {
589 const VarDecl *VD = cast<VarDecl>(DR->getDecl());
[all...]
/external/clang/lib/Index/
H A DCallGraph.cpp106 Decl *CallGraph::getDecl(CallGraphNode *Node) { function in class:CallGraph
110 return Node->getDecl(*Ctx);
H A DEntity.cpp167 Decl *EntityImpl::getDecl(ASTContext &AST) { function in class:EntityImpl
170 : cast<DeclContext>(Parent.getDecl(AST));
228 Decl *Entity::getDecl(ASTContext &AST) const { function in class:Entity
236 return Val.get<EntityImpl *>()->getDecl(AST);
/external/clang/include/clang/Index/
H A DCallGraph.h52 Decl *getDecl(ASTContext &Ctx) const { return F.getDecl(Ctx); } function in class:clang::CallGraphNode
95 Decl *getDecl(CallGraphNode *Node);
/external/clang/include/clang/Analysis/
H A DAnalysisContext.h102 const Decl *getDecl() const { return D; } function in class:clang::AnalysisContext
230 const Decl *getDecl() const { return getAnalysisContext()->getDecl(); } function in class:clang::LocationContext
/external/clang/include/clang/Serialization/
H A DASTWriter.h114 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h424 const FunctionDecl *getDecl() const { function in class:clang::ento::FunctionTextRegion
463 const BlockDecl *getDecl() const { function in class:clang::ento::BlockTextRegion
501 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion
658 const Decl *getDecl() const { return D; } function in class:clang::ento::DeclRegion
684 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion
690 return getDecl()->getType();
740 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion
744 return getDecl()->getType();
772 const ObjCIvarDecl *getDecl() cons function in class:clang::ento::ObjCIvarRegion
888 const CXXRecordDecl *getDecl() const { return decl; } function in class:clang::ento::CXXBaseObjectRegion
[all...]
/external/clang/lib/AST/
H A DType.cpp51 ND = ty->getAs<RecordType>()->getDecl();
53 ND = ty->getAs<EnumType>()->getDecl();
55 ND = ty->getAs<TypedefType>()->getDecl();
336 return RT->getDecl()->isClass();
341 return RT->getDecl()->isStruct();
346 return RT->getDecl()->isStruct() || RT->getDecl()->isClass();
357 return RT->getDecl()->isUnion();
394 if (RT->getDecl()->isStruct())
400 if (!RT->getDecl()
1777 TagDecl *TagType::getDecl() const { function in class:TagType
1785 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType
[all...]
/external/clang/lib/Sema/
H A DSemaInit.cpp360 if (RType->getDecl()->isUnion() &&
367 Field = RType->getDecl()->field_begin(),
368 FieldEnd = RType->getDecl()->field_end();
383 if (RType->getDecl()->isUnion())
503 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl();
687 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
1290 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
1318 RecordDecl* structDecl = DeclType->getAs<RecordType>()->getDecl();
1329 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
1348 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
2319 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity
[all...]

Completed in 278 milliseconds