class ObjCInterfaceDecl
Declaration
class ObjCInterfaceDecl : public ObjCContainerDecl,
public Redeclarable { /* full declaration omitted */ };
Description
Represents an ObjC class declaration. For example: Unlike C/C++, forward class declarations are accomplished with @ class. Unlike C/C++, @ class allows for a list of classes to be forward declared. Unlike C++, ObjC is a single-rooted class model. In Cocoa, classes typically inherit from NSObject (an exception is NSProxy).
Declared at: clang/include/clang/AST/DeclObjC.h:1150
Inherits from: ObjCContainerDecl, Redeclarable
Member Variables
- private const clang::Type* TypeForDecl = nullptr
- TypeForDecl - This indicates the Type object that represents this TypeDecl. It is a cache maintained by ASTContext::getObjCInterfaceType
- private clang::ObjCTypeParamList* TypeParamList = nullptr
- The type parameters associated with this class, if any.
- private llvm::PointerIntPair<DefinitionData*, 1, bool> Data
- The bit indicates when we don't need to check for out-of-date declarations. It will be set unless modules are enabled.
Inherited from DeclContext:
- protected
- protected FirstDecl = nullptr
- protected LastDecl = nullptr
Inherited from Decl:
- protected NextInContextAndBits
- protected Access
- protected FromASTFile
- protected IdentifierNamespace
- protected CacheValidAndLinkage
Method Overview
- public bool ClassImplementsProtocol(clang::ObjCProtocolDecl * lProto, bool lookupCategory, bool RHSIsQualifiedID = false)
- public static clang::ObjCInterfaceDecl * Create(const clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation atLoc, clang::IdentifierInfo * Id, clang::ObjCTypeParamList * typeParamList, clang::ObjCInterfaceDecl * PrevDecl, clang::SourceLocation ClassLoc = clang::SourceLocation(), bool isInternal = false)
- public static clang::ObjCInterfaceDecl * CreateDeserialized(const clang::ASTContext & C, unsigned int ID)
- public clang::ObjCCategoryDecl * FindCategoryDeclaration(clang::IdentifierInfo * CategoryId) const
- public clang::ObjCPropertyDecl * FindPropertyVisibleInPrimaryClass(clang::IdentifierInfo * PropertyId, clang::ObjCPropertyQueryKind QueryKind) const
- private void LoadExternalDefinition() const
- private ObjCInterfaceDecl(const clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation AtLoc, clang::IdentifierInfo * Id, clang::ObjCTypeParamList * typeParamList, clang::SourceLocation CLoc, clang::ObjCInterfaceDecl * PrevDecl, bool IsInternal)
- public clang::ObjCIvarDecl * all_declared_ivar_begin()
- public const clang::ObjCIvarDecl * all_declared_ivar_begin() const
- public clang::ObjCInterfaceDecl::all_protocol_iterator all_referenced_protocol_begin() const
- public clang::ObjCInterfaceDecl::all_protocol_iterator all_referenced_protocol_end() const
- public clang::ObjCInterfaceDecl::all_protocol_range all_referenced_protocols() const
- private void allocateDefinitionData()
- private void anchor()
- public static bool classof(const clang::Decl * D)
- public static bool classofKind(clang::Decl::Kind K)
- public void collectPropertiesToImplement(clang::ObjCContainerDecl::PropertyMap & PM, clang::ObjCContainerDecl::PropertyDeclOrder & PO) const
- private clang::ObjCInterfaceDecl::DefinitionData & data() const
- public bool declaresOrInheritsDesignatedInitializers() const
- private const clang::ObjCInterfaceDecl * findInterfaceWithDesignatedInitializers() const
- public clang::ObjCInterfaceDecl * getCanonicalDecl()
- public const clang::ObjCInterfaceDecl * getCanonicalDecl() const
- public clang::ObjCMethodDecl * getCategoryClassMethod(clang::Selector Sel) const
- public clang::ObjCMethodDecl * getCategoryInstanceMethod(clang::Selector Sel) const
- public clang::ObjCCategoryDecl * getCategoryListRaw() const
- public clang::ObjCMethodDecl * getCategoryMethod(clang::Selector Sel, bool isInstance) const
- public const clang::ObjCInterfaceDecl * getDefinition() const
- public clang::ObjCInterfaceDecl * getDefinition()
- public void getDesignatedInitializers(llvm::SmallVectorImpl<const ObjCMethodDecl *> & Methods) const
- public clang::SourceLocation getEndOfDefinitionLoc() const
- public clang::ObjCImplementationDecl * getImplementation() const
- private clang::ObjCInterfaceDecl * getMostRecentDeclImpl()
- private clang::ObjCInterfaceDecl * getNextRedeclarationImpl()
- public llvm::StringRef getObjCRuntimeNameAsString() const
- private clang::ObjCInterfaceDecl * getPreviousDeclImpl()
- public const clang::ObjCProtocolList & getReferencedProtocols() const
- public clang::SourceRange getSourceRange() const
- public clang::ObjCInterfaceDecl * getSuperClass() const
- public clang::SourceLocation getSuperClassLoc() const
- public clang::TypeSourceInfo * getSuperClassTInfo() const
- public const clang::ObjCObjectType * getSuperClassType() const
- public const clang::Type * getTypeForDecl() const
- public clang::ObjCTypeParamList * getTypeParamList() const
- public clang::ObjCTypeParamList * getTypeParamListAsWritten() const
- public bool hasDefinition() const
- public bool hasDesignatedInitializers() const
- private bool inheritsDesignatedInitializers() const
- public bool isArcWeakrefUnavailable() const
- public bool isDesignatedInitializer(clang::Selector Sel, const clang::ObjCMethodDecl ** InitMethod = nullptr) const
- public bool isImplicitInterfaceDecl() const
- private static bool isKnownCategory(clang::ObjCCategoryDecl *)
- private static bool isKnownExtension(clang::ObjCCategoryDecl * Cat)
- public const clang::ObjCInterfaceDecl * isObjCRequiresPropertyDefs() const
- public bool isSuperClassOf(const clang::ObjCInterfaceDecl * I) const
- public bool isThisDeclarationADefinition() const
- private static bool isVisibleCategory(clang::ObjCCategoryDecl * Cat)
- private static bool isVisibleExtension(clang::ObjCCategoryDecl * Cat)
- public clang::ObjCInterfaceDecl::ivar_iterator ivar_begin() const
- public bool ivar_empty() const
- public clang::ObjCInterfaceDecl::ivar_iterator ivar_end() const
- public unsigned int ivar_size() const
- public clang::ObjCInterfaceDecl::ivar_range ivars() const
- public clang::ObjCInterfaceDecl::known_categories_range known_categories() const
- public clang::ObjCInterfaceDecl::known_categories_iterator known_categories_begin() const
- public bool known_categories_empty() const
- public clang::ObjCInterfaceDecl::known_categories_iterator known_categories_end() const
- public clang::ObjCInterfaceDecl::known_extensions_range known_extensions() const
- public clang::ObjCInterfaceDecl::known_extensions_iterator known_extensions_begin() const
- public bool known_extensions_empty() const
- public clang::ObjCInterfaceDecl::known_extensions_iterator known_extensions_end() const
- public clang::ObjCMethodDecl * lookupClassMethod(clang::Selector Sel) const
- public clang::ObjCInterfaceDecl * lookupInheritedClass(const clang::IdentifierInfo * ICName)
- public clang::ObjCMethodDecl * lookupInstanceMethod(clang::Selector Sel) const
- public clang::ObjCIvarDecl * lookupInstanceVariable(clang::IdentifierInfo * IVarName)
- public clang::ObjCIvarDecl * lookupInstanceVariable(clang::IdentifierInfo * IVarName, clang::ObjCInterfaceDecl *& ClassDeclared)
- public clang::ObjCMethodDecl * lookupMethod(clang::Selector Sel, bool isInstance, bool shallowCategoryLookup = false, bool followSuper = true, const clang::ObjCCategoryDecl * C = nullptr) const
- public clang::ObjCProtocolDecl * lookupNestedProtocol(clang::IdentifierInfo * Name)
- public clang::ObjCMethodDecl * lookupPrivateClassMethod(const clang::Selector & Sel)
- public clang::ObjCMethodDecl * lookupPrivateMethod(const clang::Selector & Sel, bool Instance = true) const
- public clang::ObjCMethodDecl * lookupPropertyAccessor(const clang::Selector Sel, const clang::ObjCCategoryDecl * Cat, bool IsClassProperty) const
- public void mergeClassExtensionProtocolList(clang::ObjCProtocolDecl *const * List, unsigned int Num, clang::ASTContext & C)
- public clang::ObjCInterfaceDecl::protocol_iterator protocol_begin() const
- public clang::ObjCInterfaceDecl::protocol_iterator protocol_end() const
- public clang::ObjCInterfaceDecl::protocol_loc_iterator protocol_loc_begin() const
- public clang::ObjCInterfaceDecl::protocol_loc_iterator protocol_loc_end() const
- public clang::ObjCInterfaceDecl::protocol_loc_range protocol_locs() const
- public clang::ObjCInterfaceDecl::protocol_range protocols() const
- public void setCategoryListRaw(clang::ObjCCategoryDecl * category)
- public void setEndOfDefinitionLoc(clang::SourceLocation LE)
- public void setExternallyCompleted()
- public void setHasDesignatedInitializers()
- public void setImplementation(clang::ObjCImplementationDecl * ImplD)
- public void setIvarList(clang::ObjCIvarDecl * ivar)
- public void setProtocolList(clang::ObjCProtocolDecl *const * List, unsigned int Num, const clang::SourceLocation * Locs, clang::ASTContext & C)
- public void setSuperClass(clang::TypeSourceInfo * superClass)
- public void setTypeForDecl(const clang::Type * TD) const
- public void setTypeParamList(clang::ObjCTypeParamList * TPL)
- public void startDefinition()
- public clang::ObjCInterfaceDecl::visible_categories_range visible_categories() const
- public clang::ObjCInterfaceDecl::visible_categories_iterator visible_categories_begin() const
- public bool visible_categories_empty() const
- public clang::ObjCInterfaceDecl::visible_categories_iterator visible_categories_end() const
- public clang::ObjCInterfaceDecl::visible_extensions_range visible_extensions() const
- public clang::ObjCInterfaceDecl::visible_extensions_iterator visible_extensions_begin() const
- public bool visible_extensions_empty() const
- public clang::ObjCInterfaceDecl::visible_extensions_iterator visible_extensions_end() const
Inherited from ObjCContainerDecl:
- public FindPropertyDeclaration
- public HasUserDeclaredSetterMethod
- public castFromDeclContext
- public castToDeclContext
- public class_methods
- public class_properties
- public classmeth_begin
- public classmeth_end
- public classof
- public classofKind
- public classprop_begin
- public classprop_end
- public collectPropertiesToImplement
- public getAtEndRange
- public getAtStartLoc
- public getClassMethod
- public getInstanceMethod
- public getIvarDecl
- public getMethod
- public getProperty
- public getSourceRange
- public instance_methods
- public instance_properties
- public instmeth_begin
- public instmeth_end
- public instprop_begin
- public instprop_end
- public meth_begin
- public meth_end
- public methods
- public prop_begin
- public prop_end
- public properties
- public setAtEndRange
- public setAtStartLoc
Inherited from DeclContext:
- protected BuildDeclChain
- public Encloses
- public Equals
- public InEnclosingNamespaceSetOf
- public addDecl
- public addDeclInternal
- public addHiddenDecl
- public buildLookup
- public classof
- public classof
- public collectAllContexts
- public containsDecl
- public containsDeclAndLoad
- public ddiags
- public decls
- public decls_begin
- public decls_empty
- public decls_end
- public dumpDeclContext
- public dumpLookups
- public dumpLookups
- public getDeclKind
- public getDeclKindName
- public getEnclosingNamespaceContext
- public getEnclosingNamespaceContext
- public getExternCContext
- public getInnermostBlockDecl
- public getLexicalParent
- public getLexicalParent
- public getLookupParent
- public getLookupParent
- public getLookupPtr
- public getNonClosureAncestor
- public getNonClosureAncestor
- public getNonTransparentContext
- public getNonTransparentContext
- public getOuterLexicalRecordContext
- public getOuterLexicalRecordContext
- public getParent
- public getParent
- public getParentASTContext
- public getPrimaryContext
- public getPrimaryContext
- public getRedeclContext
- public getRedeclContext
- public hasExternalLexicalStorage
- public hasExternalVisibleStorage
- public isClosure
- public isDeclInLexicalTraversal
- public isDependentContext
- public isExternCContext
- public isExternCXXContext
- public isFileContext
- public isFunctionOrMethod
- public isInlineNamespace
- public isLookupContext
- public isNamespace
- public isObjCContainer
- public isRecord
- public isStdNamespace
- public isTranslationUnit
- public isTransparentContext
- public localUncachedLookup
- public lookup
- public lookups
- public lookups_begin
- public lookups_end
- public makeDeclVisibleInContext
- public noload_decls
- public noload_decls_begin
- public noload_decls_end
- public noload_lookup
- public noload_lookups
- public noload_lookups_begin
- public noload_lookups_end
- public removeDecl
- public setHasExternalLexicalStorage
- public setHasExternalVisibleStorage
- public setMustBuildLookupTable
- public setUseQualifiedLookup
- public shouldUseQualifiedLookup
- public using_directives
Inherited from NamedDecl:
- public classof
- public classofKind
- public declarationReplaces
- public getDeclName
- public getExplicitVisibility
- public getFormalLinkage
- public getIdentifier
- public getLinkageAndVisibility
- public getLinkageInternal
- public getMostRecentDecl
- public getMostRecentDecl
- public getName
- public getNameAsString
- public getNameForDiagnostic
- public getObjCFStringFormattingFamily
- public getQualifiedNameAsString
- public getUnderlyingDecl
- public getUnderlyingDecl
- public getVisibility
- public hasExternalFormalLinkage
- public hasLinkage
- public hasLinkageBeenComputed
- public isCXXClassMember
- public isCXXInstanceMember
- public isExternallyDeclarable
- public isExternallyVisible
- public isLinkageValid
- public isReserved
- public printName
- public printNestedNameSpecifier
- public printNestedNameSpecifier
- public printQualifiedName
- public printQualifiedName
- public setDeclName
Inherited from Decl:
- public EnableStatistics
- public PrintStats
- public add
- public addAttr
- public attr_begin
- public attr_end
- public attrs
- public canBeWeakImported
- public castFromDeclContext
- public castToDeclContext
- public classofKind
- public dropAttr
- public dropAttrs
- public dump
- public dump
- public dumpColor
- public getASTContext
- protected getASTMutationListener
- public getAccess
- public getAccessUnsafe
- public getAsFunction
- public getAsFunction
- public getAttr
- public getAttrs
- public getAttrs
- public getAvailability
- public getBeginLoc
- public getBody
- public getBodyRBrace
- protected getCachedLinkage
- public getCanonicalDecl
- public getCanonicalDecl
- public getDeclContext
- public getDeclContext
- public getDeclKindName
- public getDefiningAttr
- public getDescribedTemplate
- public getDescribedTemplateParams
- public getEndLoc
- public getExternalSourceSymbolAttr
- public getFriendObjectKind
- public getFunctionType
- public getGlobalID
- public getID
- public getIdentifierNamespace
- public getIdentifierNamespaceForKind
- public getImportedOwningModule
- public getKind
- public getLangOpts
- public getLexicalDeclContext
- public getLexicalDeclContext
- public getLocalOwningModule
- public getLocation
- public getMaxAlignment
- public getModuleOwnershipKind
- public getMostRecentDecl
- public getMostRecentDecl
- protected getMostRecentDeclImpl
- public getNextDeclInContext
- public getNextDeclInContext
- protected getNextRedeclarationImpl
- public getNonClosureContext
- public getNonClosureContext
- public getOwningModule
- public getOwningModuleForLinkage
- public getOwningModuleID
- public getParentFunctionOrMethod
- public getParentFunctionOrMethod
- public getPreviousDecl
- public getPreviousDecl
- protected getPreviousDeclImpl
- public getSourceRange
- public getTemplateDepth
- public getTranslationUnitDecl
- public getTranslationUnitDecl
- public getVersionIntroduced
- public hasAttr
- public hasAttrs
- public hasBody
- protected hasCachedLinkage
- public hasDefiningAttr
- protected hasLocalOwningModuleStorage
- public hasOwningModule
- public hasTagIdentifierNamespace
- public isCanonicalDecl
- public isDefinedOutsideFunctionOrMethod
- public isDeprecated
- public isDiscardedInGlobalModuleFragment
- public isFirstDecl
- public isFromASTFile
- public isFunctionOrFunctionTemplate
- public isImplicit
- public isInAnonymousNamespace
- public isInExportDeclContext
- public isInIdentifierNamespace
- public isInLocalScopeForInstantiation
- public isInStdNamespace
- public isInvalidDecl
- public isInvisibleOutsideTheOwningModule
- public isLocalExternDecl
- public isModulePrivate
- public isOutOfLine
- public isParameterPack
- public isReachable
- public isReferenced
- public isTagIdentifierNamespace
- public isTemplateDecl
- public isTemplateParameter
- public isTemplateParameterPack
- public isTemplated
- public isThisDeclarationReferenced
- public isTopLevelDeclInObjCContainer
- public isUnavailable
- public isUnconditionallyVisible
- public isUsed
- public isWeakImported
- public markUsed
- public print
- public print
- public printGroup
- public redecls
- public redecls_begin
- public redecls_end
- public setAccess
- public setAttrs
- protected setCachedLinkage
- public setDeclContext
- public setFromASTFile
- public setImplicit
- public setInvalidDecl
- public setIsUsed
- public setLexicalDeclContext
- public setLocalExternDecl
- public setLocalOwningModule
- public setLocation
- public setModuleOwnershipKind
- protected setModulePrivate
- public setNonMemberOperator
- public setObjectOfFriendDecl
- public setOwningModuleID
- public setReferenced
- public setTopLevelDeclInObjCContainer
- public setVisibleDespiteOwningModule
- public specific_attr_begin
- public specific_attr_end
- public specific_attrs
- protected updateOutOfDate
Methods
¶bool ClassImplementsProtocol(
clang::ObjCProtocolDecl* lProto,
bool lookupCategory,
bool RHSIsQualifiedID = false)
bool ClassImplementsProtocol(
clang::ObjCProtocolDecl* lProto,
bool lookupCategory,
bool RHSIsQualifiedID = false)
Description
ClassImplementsProtocol - Checks that 'lProto' protocol has been implemented in IDecl class, its super class or categories (if lookupCategory is true).
Declared at: clang/include/clang/AST/DeclObjC.h:1878
Parameters
- clang::ObjCProtocolDecl* lProto
- bool lookupCategory
- bool RHSIsQualifiedID = false
¶static clang::ObjCInterfaceDecl* Create(
const clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation atLoc,
clang::IdentifierInfo* Id,
clang::ObjCTypeParamList* typeParamList,
clang::ObjCInterfaceDecl* PrevDecl,
clang::SourceLocation ClassLoc =
clang::SourceLocation(),
bool isInternal = false)
static clang::ObjCInterfaceDecl* Create(
const clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation atLoc,
clang::IdentifierInfo* Id,
clang::ObjCTypeParamList* typeParamList,
clang::ObjCInterfaceDecl* PrevDecl,
clang::SourceLocation ClassLoc =
clang::SourceLocation(),
bool isInternal = false)
Declared at: clang/include/clang/AST/DeclObjC.h:1263
Parameters
- const clang::ASTContext& C
- clang::DeclContext* DC
- clang::SourceLocation atLoc
- clang::IdentifierInfo* Id
- clang::ObjCTypeParamList* typeParamList
- clang::ObjCInterfaceDecl* PrevDecl
- clang::SourceLocation ClassLoc = clang::SourceLocation()
- bool isInternal = false
¶static clang::ObjCInterfaceDecl*
CreateDeserialized(const clang::ASTContext& C,
unsigned int ID)
static clang::ObjCInterfaceDecl*
CreateDeserialized(const clang::ASTContext& C,
unsigned int ID)
Declared at: clang/include/clang/AST/DeclObjC.h:1271
Parameters
- const clang::ASTContext& C
- unsigned int ID
¶clang::ObjCCategoryDecl* FindCategoryDeclaration(
clang::IdentifierInfo* CategoryId) const
clang::ObjCCategoryDecl* FindCategoryDeclaration(
clang::IdentifierInfo* CategoryId) const
Declared at: clang/include/clang/AST/DeclObjC.h:1330
Parameters
- clang::IdentifierInfo* CategoryId
¶clang::ObjCPropertyDecl*
FindPropertyVisibleInPrimaryClass(
clang::IdentifierInfo* PropertyId,
clang::ObjCPropertyQueryKind QueryKind) const
clang::ObjCPropertyDecl*
FindPropertyVisibleInPrimaryClass(
clang::IdentifierInfo* PropertyId,
clang::ObjCPropertyQueryKind QueryKind) const
Declared at: clang/include/clang/AST/DeclObjC.h:1780
Parameters
- clang::IdentifierInfo* PropertyId
- clang::ObjCPropertyQueryKind QueryKind
¶void LoadExternalDefinition() const
void LoadExternalDefinition() const
Declared at: clang/include/clang/AST/DeclObjC.h:1238
¶ObjCInterfaceDecl(
const clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation AtLoc,
clang::IdentifierInfo* Id,
clang::ObjCTypeParamList* typeParamList,
clang::SourceLocation CLoc,
clang::ObjCInterfaceDecl* PrevDecl,
bool IsInternal)
ObjCInterfaceDecl(
const clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation AtLoc,
clang::IdentifierInfo* Id,
clang::ObjCTypeParamList* typeParamList,
clang::SourceLocation CLoc,
clang::ObjCInterfaceDecl* PrevDecl,
bool IsInternal)
Declared at: clang/include/clang/AST/DeclObjC.h:1231
Parameters
- const clang::ASTContext& C
- clang::DeclContext* DC
- clang::SourceLocation AtLoc
- clang::IdentifierInfo* Id
- clang::ObjCTypeParamList* typeParamList
- clang::SourceLocation CLoc
- clang::ObjCInterfaceDecl* PrevDecl
- bool IsInternal
¶clang::ObjCIvarDecl* all_declared_ivar_begin()
clang::ObjCIvarDecl* all_declared_ivar_begin()
Declared at: clang/include/clang/AST/DeclObjC.h:1460
¶const clang::ObjCIvarDecl*
all_declared_ivar_begin() const
const clang::ObjCIvarDecl*
all_declared_ivar_begin() const
Declared at: clang/include/clang/AST/DeclObjC.h:1461
¶clang::ObjCInterfaceDecl::all_protocol_iterator
all_referenced_protocol_begin() const
clang::ObjCInterfaceDecl::all_protocol_iterator
all_referenced_protocol_begin() const
Declared at: clang/include/clang/AST/DeclObjC.h:1407
¶clang::ObjCInterfaceDecl::all_protocol_iterator
all_referenced_protocol_end() const
clang::ObjCInterfaceDecl::all_protocol_iterator
all_referenced_protocol_end() const
Declared at: clang/include/clang/AST/DeclObjC.h:1420
¶clang::ObjCInterfaceDecl::all_protocol_range
all_referenced_protocols() const
clang::ObjCInterfaceDecl::all_protocol_range
all_referenced_protocols() const
Declared at: clang/include/clang/AST/DeclObjC.h:1402
¶void allocateDefinitionData()
void allocateDefinitionData()
Description
Allocate the definition data for this class.
Declared at: clang/include/clang/AST/DeclObjC.h:1246
¶void anchor()
void anchor()
Declared at: clang/include/clang/AST/DeclObjC.h:1236
¶static bool classof(const clang::Decl* D)
static bool classof(const clang::Decl* D)
Declared at: clang/include/clang/AST/DeclObjC.h:1900
Parameters
- const clang::Decl* D
¶static bool classofKind(clang::Decl::Kind K)
static bool classofKind(clang::Decl::Kind K)
Declared at: clang/include/clang/AST/DeclObjC.h:1901
Parameters
- clang::Decl::Kind K
¶void collectPropertiesToImplement(
clang::ObjCContainerDecl::PropertyMap& PM,
clang::ObjCContainerDecl::PropertyDeclOrder&
PO) const
void collectPropertiesToImplement(
clang::ObjCContainerDecl::PropertyMap& PM,
clang::ObjCContainerDecl::PropertyDeclOrder&
PO) const
Description
This routine collects list of properties to be implemented in the class. This includes, class's and its conforming protocols' properties. Note, the superclass's properties are not included in the list.
Declared at: clang/include/clang/AST/DeclObjC.h:1783
Parameters
¶clang::ObjCInterfaceDecl::DefinitionData& data()
const
clang::ObjCInterfaceDecl::DefinitionData& data()
const
Declared at: clang/include/clang/AST/DeclObjC.h:1240
¶bool declaresOrInheritsDesignatedInitializers()
const
bool declaresOrInheritsDesignatedInitializers()
const
Description
Returns true if this interface decl declares a designated initializer or it inherites one from its super class.
Declared at: clang/include/clang/AST/DeclObjC.h:1315
¶const clang::ObjCInterfaceDecl*
findInterfaceWithDesignatedInitializers() const
const clang::ObjCInterfaceDecl*
findInterfaceWithDesignatedInitializers() const
Declared at: clang/include/clang/AST/DeclObjC.h:1904
¶clang::ObjCInterfaceDecl* getCanonicalDecl()
clang::ObjCInterfaceDecl* getCanonicalDecl()
Description
Retrieves the canonical declaration of this Objective-C class.
Declared at: clang/include/clang/AST/DeclObjC.h:1893
¶const clang::ObjCInterfaceDecl* getCanonicalDecl()
const
const clang::ObjCInterfaceDecl* getCanonicalDecl()
const
Declared at: clang/include/clang/AST/DeclObjC.h:1894
¶clang::ObjCMethodDecl* getCategoryClassMethod(
clang::Selector Sel) const
clang::ObjCMethodDecl* getCategoryClassMethod(
clang::Selector Sel) const
Declared at: clang/include/clang/AST/DeclObjC.h:1334
Parameters
- clang::Selector Sel
¶clang::ObjCMethodDecl* getCategoryInstanceMethod(
clang::Selector Sel) const
clang::ObjCMethodDecl* getCategoryInstanceMethod(
clang::Selector Sel) const
Declared at: clang/include/clang/AST/DeclObjC.h:1333
Parameters
- clang::Selector Sel
¶clang::ObjCCategoryDecl* getCategoryListRaw()
const
clang::ObjCCategoryDecl* getCategoryListRaw()
const
Description
Retrieve the raw pointer to the start of the category/extension list.
Declared at: clang/include/clang/AST/DeclObjC.h:1762
¶clang::ObjCMethodDecl* getCategoryMethod(
clang::Selector Sel,
bool isInstance) const
clang::ObjCMethodDecl* getCategoryMethod(
clang::Selector Sel,
bool isInstance) const
Declared at: clang/include/clang/AST/DeclObjC.h:1336
Parameters
- clang::Selector Sel
- bool isInstance
¶const clang::ObjCInterfaceDecl* getDefinition()
const
const clang::ObjCInterfaceDecl* getDefinition()
const
Description
Retrieve the definition of this class, or NULL if this class has been forward-declared (with @ class) but not yet defined (with @ interface).
Declared at: clang/include/clang/AST/DeclObjC.h:1534
¶clang::ObjCInterfaceDecl* getDefinition()
clang::ObjCInterfaceDecl* getDefinition()
Description
Retrieve the definition of this class, or NULL if this class has been forward-declared (with @ class) but not yet defined (with @ interface).
Declared at: clang/include/clang/AST/DeclObjC.h:1527
¶void getDesignatedInitializers(
llvm::SmallVectorImpl<const ObjCMethodDecl*>&
Methods) const
void getDesignatedInitializers(
llvm::SmallVectorImpl<const ObjCMethodDecl*>&
Methods) const
Description
Returns the designated initializers for the interface. If this declaration does not have methods marked as designated initializers then the interface inherits the designated initializers of its super class.
Declared at: clang/include/clang/AST/DeclObjC.h:1490
Parameters
- llvm::SmallVectorImpl<const ObjCMethodDecl*>& Methods
¶clang::SourceLocation getEndOfDefinitionLoc()
const
clang::SourceLocation getEndOfDefinitionLoc()
const
Declared at: clang/include/clang/AST/DeclObjC.h:1856
¶clang::ObjCImplementationDecl* getImplementation()
const
clang::ObjCImplementationDecl* getImplementation()
const
Declared at: clang/include/clang/AST/DeclObjC.h:1327
¶clang::ObjCInterfaceDecl* getMostRecentDeclImpl()
clang::ObjCInterfaceDecl* getMostRecentDeclImpl()
Description
Implementation of getMostRecentDecl(), to be overridden by any subclass that has a redeclaration chain.
Declared at: clang/include/clang/AST/DeclObjC.h:1258
¶clang::ObjCInterfaceDecl*
getNextRedeclarationImpl()
clang::ObjCInterfaceDecl*
getNextRedeclarationImpl()
Description
Returns the next redeclaration or itself if this is the only decl. Decl subclasses that can be redeclared should override this method so that Decl::redecl_iterator can iterate over them.
Declared at: clang/include/clang/AST/DeclObjC.h:1250
¶llvm::StringRef getObjCRuntimeNameAsString() const
llvm::StringRef getObjCRuntimeNameAsString() const
Description
Produce a name to be used for class's metadata. It comes either via objc_runtime_name attribute or class name.
Declared at: clang/include/clang/AST/DeclObjC.h:1483
¶clang::ObjCInterfaceDecl* getPreviousDeclImpl()
clang::ObjCInterfaceDecl* getPreviousDeclImpl()
Description
Implementation of getPreviousDecl(), to be overridden by any subclass that has a redeclaration chain.
Declared at: clang/include/clang/AST/DeclObjC.h:1254
¶const clang::ObjCProtocolList&
getReferencedProtocols() const
const clang::ObjCProtocolList&
getReferencedProtocols() const
Declared at: clang/include/clang/AST/DeclObjC.h:1319
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Description
Source range that this declaration covers.
Declared at: clang/include/clang/AST/DeclObjC.h:1293
¶clang::ObjCInterfaceDecl* getSuperClass() const
clang::ObjCInterfaceDecl* getSuperClass() const
Declared at: clang/include/clang/AST/DeclObjC.h:1564
¶clang::SourceLocation getSuperClassLoc() const
clang::SourceLocation getSuperClassLoc() const
Description
Retrieve the starting location of the superclass.
Declared at: clang/include/clang/AST/DeclObjC.h:1866
¶clang::TypeSourceInfo* getSuperClassTInfo() const
clang::TypeSourceInfo* getSuperClassTInfo() const
Declared at: clang/include/clang/AST/DeclObjC.h:1551
¶const clang::ObjCObjectType* getSuperClassType()
const
const clang::ObjCObjectType* getSuperClassType()
const
Description
Retrieve the superclass type.
Declared at: clang/include/clang/AST/DeclObjC.h:1543
¶const clang::Type* getTypeForDecl() const
const clang::Type* getTypeForDecl() const
Declared at: clang/include/clang/AST/DeclObjC.h:1897
¶clang::ObjCTypeParamList* getTypeParamList() const
clang::ObjCTypeParamList* getTypeParamList() const
Description
Retrieve the type parameters of this class. This function looks for a type parameter list for the given class; if the class has been declared (with \c \@class but not defined (with \c \@interface) it will search for a declaration that has type parameters, skipping any declarations that do not.
Declared at: clang/include/clang/AST/DeclObjC.h:1279
¶clang::ObjCTypeParamList*
getTypeParamListAsWritten() const
clang::ObjCTypeParamList*
getTypeParamListAsWritten() const
Description
Retrieve the type parameters written on this particular declaration of the class.
Declared at: clang/include/clang/AST/DeclObjC.h:1289
¶bool hasDefinition() const
bool hasDefinition() const
Description
Determine whether this class has been defined.
Declared at: clang/include/clang/AST/DeclObjC.h:1513
¶bool hasDesignatedInitializers() const
bool hasDesignatedInitializers() const
Description
Returns true if this interface decl contains at least one initializer marked with the 'objc_designated_initializer' attribute.
Declared at: clang/include/clang/AST/DeclObjC.h:1311
¶bool inheritsDesignatedInitializers() const
bool inheritsDesignatedInitializers() const
Declared at: clang/include/clang/AST/DeclObjC.h:1905
¶bool isArcWeakrefUnavailable() const
bool isArcWeakrefUnavailable() const
Description
isArcWeakrefUnavailable - Checks for a class or one of its super classes to be incompatible with __weak references. Returns true if it is.
Declared at: clang/include/clang/AST/DeclObjC.h:1801
¶bool isDesignatedInitializer(
clang::Selector Sel,
const clang::ObjCMethodDecl** InitMethod =
nullptr) const
bool isDesignatedInitializer(
clang::Selector Sel,
const clang::ObjCMethodDecl** InitMethod =
nullptr) const
Description
Returns true if the given selector is a designated initializer for the interface. If this declaration does not have methods marked as designated initializers then the interface inherits the designated initializers of its super class.
Declared at: clang/include/clang/AST/DeclObjC.h:1503
Parameters
- clang::Selector Sel
- const clang::ObjCMethodDecl** InitMethod = nullptr
- if non-null and the function returns true, it receives the method that was marked as a designated initializer.
¶bool isImplicitInterfaceDecl() const
bool isImplicitInterfaceDecl() const
Description
isImplicitInterfaceDecl - check that this is an implicitly declared ObjCInterfaceDecl node. This is for legacy objective-c @ implementation declaration without an @ interface declaration.
Declared at: clang/include/clang/AST/DeclObjC.h:1871
¶static bool isKnownCategory(
clang::ObjCCategoryDecl*)
static bool isKnownCategory(
clang::ObjCCategoryDecl*)
Description
Test whether the given category... is a category. Used in the \c known_categories_iterator.
Declared at: clang/include/clang/AST/DeclObjC.h:1656
Parameters
¶static bool isKnownExtension(
clang::ObjCCategoryDecl* Cat)
static bool isKnownExtension(
clang::ObjCCategoryDecl* Cat)
Description
Test whether the given category is an extension. Used in the \c known_extensions_iterator.
Declared at: clang/include/clang/AST/DeclObjC.h:1726
Parameters
¶const clang::ObjCInterfaceDecl*
isObjCRequiresPropertyDefs() const
const clang::ObjCInterfaceDecl*
isObjCRequiresPropertyDefs() const
Description
isObjCRequiresPropertyDefs - Checks that a class or one of its super classes must not be auto-synthesized. Returns class decl. if it must not be; 0, otherwise.
Declared at: clang/include/clang/AST/DeclObjC.h:1806
¶bool isSuperClassOf(
const clang::ObjCInterfaceDecl* I) const
bool isSuperClassOf(
const clang::ObjCInterfaceDecl* I) const
Description
isSuperClassOf - Return true if this class is the specified class or is a super class of the specified interface class.
Declared at: clang/include/clang/AST/DeclObjC.h:1788
Parameters
- const clang::ObjCInterfaceDecl* I
¶bool isThisDeclarationADefinition() const
bool isThisDeclarationADefinition() const
Description
Determine whether this particular declaration of this class is actually also a definition.
Declared at: clang/include/clang/AST/DeclObjC.h:1508
¶static bool isVisibleCategory(
clang::ObjCCategoryDecl* Cat)
static bool isVisibleCategory(
clang::ObjCCategoryDecl* Cat)
Description
Test whether the given category is visible. Used in the \c visible_categories_iterator.
Declared at: clang/include/clang/AST/DeclObjC.h:1620
Parameters
¶static bool isVisibleExtension(
clang::ObjCCategoryDecl* Cat)
static bool isVisibleExtension(
clang::ObjCCategoryDecl* Cat)
Description
Test whether the given category is a visible extension. Used in the \c visible_extensions_iterator.
Declared at: clang/include/clang/AST/DeclObjC.h:1690
Parameters
¶clang::ObjCInterfaceDecl::ivar_iterator
ivar_begin() const
clang::ObjCInterfaceDecl::ivar_iterator
ivar_begin() const
Declared at: clang/include/clang/AST/DeclObjC.h:1438
¶bool ivar_empty() const
bool ivar_empty() const
Declared at: clang/include/clang/AST/DeclObjC.h:1458
¶clang::ObjCInterfaceDecl::ivar_iterator ivar_end()
const
clang::ObjCInterfaceDecl::ivar_iterator ivar_end()
const
Declared at: clang/include/clang/AST/DeclObjC.h:1446
¶unsigned int ivar_size() const
unsigned int ivar_size() const
Declared at: clang/include/clang/AST/DeclObjC.h:1454
¶clang::ObjCInterfaceDecl::ivar_range ivars() const
clang::ObjCInterfaceDecl::ivar_range ivars() const
Declared at: clang/include/clang/AST/DeclObjC.h:1436
¶clang::ObjCInterfaceDecl::known_categories_range
known_categories() const
clang::ObjCInterfaceDecl::known_categories_range
known_categories() const
Declared at: clang/include/clang/AST/DeclObjC.h:1665
¶clang::ObjCInterfaceDecl::
known_categories_iterator
known_categories_begin() const
clang::ObjCInterfaceDecl::
known_categories_iterator
known_categories_begin() const
Description
Retrieve an iterator to the beginning of the known-categories list.
Declared at: clang/include/clang/AST/DeclObjC.h:1672
¶bool known_categories_empty() const
bool known_categories_empty() const
Description
Determine whether the known-categories list is empty.
Declared at: clang/include/clang/AST/DeclObjC.h:1682
¶clang::ObjCInterfaceDecl::
known_categories_iterator
known_categories_end() const
clang::ObjCInterfaceDecl::
known_categories_iterator
known_categories_end() const
Description
Retrieve an iterator to the end of the known-categories list.
Declared at: clang/include/clang/AST/DeclObjC.h:1677
¶clang::ObjCInterfaceDecl::known_extensions_range
known_extensions() const
clang::ObjCInterfaceDecl::known_extensions_range
known_extensions() const
Declared at: clang/include/clang/AST/DeclObjC.h:1739
¶clang::ObjCInterfaceDecl::
known_extensions_iterator
known_extensions_begin() const
clang::ObjCInterfaceDecl::
known_extensions_iterator
known_extensions_begin() const
Description
Retrieve an iterator to the beginning of the known-extensions list.
Declared at: clang/include/clang/AST/DeclObjC.h:1746
¶bool known_extensions_empty() const
bool known_extensions_empty() const
Description
Determine whether the known-extensions list is empty.
Declared at: clang/include/clang/AST/DeclObjC.h:1756
¶clang::ObjCInterfaceDecl::
known_extensions_iterator
known_extensions_end() const
clang::ObjCInterfaceDecl::
known_extensions_iterator
known_extensions_end() const
Description
Retrieve an iterator to the end of the known-extensions list.
Declared at: clang/include/clang/AST/DeclObjC.h:1751
¶clang::ObjCMethodDecl* lookupClassMethod(
clang::Selector Sel) const
clang::ObjCMethodDecl* lookupClassMethod(
clang::Selector Sel) const
Description
Lookup a class method for a given selector.
Declared at: clang/include/clang/AST/DeclObjC.h:1830
Parameters
- clang::Selector Sel
¶clang::ObjCInterfaceDecl* lookupInheritedClass(
const clang::IdentifierInfo* ICName)
clang::ObjCInterfaceDecl* lookupInheritedClass(
const clang::IdentifierInfo* ICName)
Declared at: clang/include/clang/AST/DeclObjC.h:1834
Parameters
- const clang::IdentifierInfo* ICName
¶clang::ObjCMethodDecl* lookupInstanceMethod(
clang::Selector Sel) const
clang::ObjCMethodDecl* lookupInstanceMethod(
clang::Selector Sel) const
Description
Lookup an instance method for a given selector.
Declared at: clang/include/clang/AST/DeclObjC.h:1825
Parameters
- clang::Selector Sel
¶clang::ObjCIvarDecl* lookupInstanceVariable(
clang::IdentifierInfo* IVarName)
clang::ObjCIvarDecl* lookupInstanceVariable(
clang::IdentifierInfo* IVarName)
Declared at: clang/include/clang/AST/DeclObjC.h:1810
Parameters
- clang::IdentifierInfo* IVarName
¶clang::ObjCIvarDecl* lookupInstanceVariable(
clang::IdentifierInfo* IVarName,
clang::ObjCInterfaceDecl*& ClassDeclared)
clang::ObjCIvarDecl* lookupInstanceVariable(
clang::IdentifierInfo* IVarName,
clang::ObjCInterfaceDecl*& ClassDeclared)
Declared at: clang/include/clang/AST/DeclObjC.h:1808
Parameters
- clang::IdentifierInfo* IVarName
- clang::ObjCInterfaceDecl*& ClassDeclared
¶clang::ObjCMethodDecl* lookupMethod(
clang::Selector Sel,
bool isInstance,
bool shallowCategoryLookup = false,
bool followSuper = true,
const clang::ObjCCategoryDecl* C =
nullptr) const
clang::ObjCMethodDecl* lookupMethod(
clang::Selector Sel,
bool isInstance,
bool shallowCategoryLookup = false,
bool followSuper = true,
const clang::ObjCCategoryDecl* C =
nullptr) const
Declared at: clang/include/clang/AST/DeclObjC.h:1819
Parameters
- clang::Selector Sel
- bool isInstance
- bool shallowCategoryLookup = false
- bool followSuper = true
- const clang::ObjCCategoryDecl* C = nullptr
¶clang::ObjCProtocolDecl* lookupNestedProtocol(
clang::IdentifierInfo* Name)
clang::ObjCProtocolDecl* lookupNestedProtocol(
clang::IdentifierInfo* Name)
Declared at: clang/include/clang/AST/DeclObjC.h:1815
Parameters
- clang::IdentifierInfo* Name
¶clang::ObjCMethodDecl* lookupPrivateClassMethod(
const clang::Selector& Sel)
clang::ObjCMethodDecl* lookupPrivateClassMethod(
const clang::Selector& Sel)
Declared at: clang/include/clang/AST/DeclObjC.h:1840
Parameters
- const clang::Selector& Sel
¶clang::ObjCMethodDecl* lookupPrivateMethod(
const clang::Selector& Sel,
bool Instance = true) const
clang::ObjCMethodDecl* lookupPrivateMethod(
const clang::Selector& Sel,
bool Instance = true) const
Description
Lookup a method in the classes implementation hierarchy.
Declared at: clang/include/clang/AST/DeclObjC.h:1837
Parameters
- const clang::Selector& Sel
- bool Instance = true
¶clang::ObjCMethodDecl* lookupPropertyAccessor(
const clang::Selector Sel,
const clang::ObjCCategoryDecl* Cat,
bool IsClassProperty) const
clang::ObjCMethodDecl* lookupPropertyAccessor(
const clang::Selector Sel,
const clang::ObjCCategoryDecl* Cat,
bool IsClassProperty) const
Description
Lookup a setter or getter in the class hierarchy, including in all categories except for category passed as argument.
Declared at: clang/include/clang/AST/DeclObjC.h:1847
Parameters
- const clang::Selector Sel
- const clang::ObjCCategoryDecl* Cat
- bool IsClassProperty
¶void mergeClassExtensionProtocolList(
clang::ObjCProtocolDecl* const* List,
unsigned int Num,
clang::ASTContext& C)
void mergeClassExtensionProtocolList(
clang::ObjCProtocolDecl* const* List,
unsigned int Num,
clang::ASTContext& C)
Description
mergeClassExtensionProtocolList - Merge class extension's protocol list into the protocol list for this class.
Declared at: clang/include/clang/AST/DeclObjC.h:1477
Parameters
- clang::ObjCProtocolDecl* const* List
- unsigned int Num
- clang::ASTContext& C
¶clang::ObjCInterfaceDecl::protocol_iterator
protocol_begin() const
clang::ObjCInterfaceDecl::protocol_iterator
protocol_begin() const
Declared at: clang/include/clang/AST/DeclObjC.h:1348
¶clang::ObjCInterfaceDecl::protocol_iterator
protocol_end() const
clang::ObjCInterfaceDecl::protocol_iterator
protocol_end() const
Declared at: clang/include/clang/AST/DeclObjC.h:1359
¶clang::ObjCInterfaceDecl::protocol_loc_iterator
protocol_loc_begin() const
clang::ObjCInterfaceDecl::protocol_loc_iterator
protocol_loc_begin() const
Declared at: clang/include/clang/AST/DeclObjC.h:1377
¶clang::ObjCInterfaceDecl::protocol_loc_iterator
protocol_loc_end() const
clang::ObjCInterfaceDecl::protocol_loc_iterator
protocol_loc_end() const
Declared at: clang/include/clang/AST/DeclObjC.h:1388
¶clang::ObjCInterfaceDecl::protocol_loc_range
protocol_locs() const
clang::ObjCInterfaceDecl::protocol_loc_range
protocol_locs() const
Declared at: clang/include/clang/AST/DeclObjC.h:1373
¶clang::ObjCInterfaceDecl::protocol_range
protocols() const
clang::ObjCInterfaceDecl::protocol_range
protocols() const
Declared at: clang/include/clang/AST/DeclObjC.h:1344
¶void setCategoryListRaw(
clang::ObjCCategoryDecl* category)
void setCategoryListRaw(
clang::ObjCCategoryDecl* category)
Description
Set the raw pointer to the start of the category/extension list.
Declared at: clang/include/clang/AST/DeclObjC.h:1775
Parameters
- clang::ObjCCategoryDecl* category
¶void setEndOfDefinitionLoc(
clang::SourceLocation LE)
void setEndOfDefinitionLoc(
clang::SourceLocation LE)
Declared at: clang/include/clang/AST/DeclObjC.h:1863
Parameters
¶void setExternallyCompleted()
void setExternallyCompleted()
Description
Indicate that this Objective-C class is complete, but that the external AST source will be responsible for filling in its contents when a complete class is required.
Declared at: clang/include/clang/AST/DeclObjC.h:1303
¶void setHasDesignatedInitializers()
void setHasDesignatedInitializers()
Description
Indicate that this interface decl contains at least one initializer marked with the 'objc_designated_initializer' attribute.
Declared at: clang/include/clang/AST/DeclObjC.h:1307
¶void setImplementation(
clang::ObjCImplementationDecl* ImplD)
void setImplementation(
clang::ObjCImplementationDecl* ImplD)
Declared at: clang/include/clang/AST/DeclObjC.h:1328
Parameters
¶void setIvarList(clang::ObjCIvarDecl* ivar)
void setIvarList(clang::ObjCIvarDecl* ivar)
Declared at: clang/include/clang/AST/DeclObjC.h:1466
Parameters
- clang::ObjCIvarDecl* ivar
¶void setProtocolList(
clang::ObjCProtocolDecl* const* List,
unsigned int Num,
const clang::SourceLocation* Locs,
clang::ASTContext& C)
void setProtocolList(
clang::ObjCProtocolDecl* const* List,
unsigned int Num,
const clang::SourceLocation* Locs,
clang::ASTContext& C)
Description
setProtocolList - Set the list of protocols that this interface implements.
Declared at: clang/include/clang/AST/DeclObjC.h:1470
Parameters
- clang::ObjCProtocolDecl* const* List
- unsigned int Num
- const clang::SourceLocation* Locs
- clang::ASTContext& C
¶void setSuperClass(
clang::TypeSourceInfo* superClass)
void setSuperClass(
clang::TypeSourceInfo* superClass)
Declared at: clang/include/clang/AST/DeclObjC.h:1566
Parameters
- clang::TypeSourceInfo* superClass
¶void setTypeForDecl(const clang::Type* TD) const
void setTypeForDecl(const clang::Type* TD) const
Declared at: clang/include/clang/AST/DeclObjC.h:1898
Parameters
- const clang::Type* TD
¶void setTypeParamList(
clang::ObjCTypeParamList* TPL)
void setTypeParamList(
clang::ObjCTypeParamList* TPL)
Description
Set the type parameters of this class. This function is used by the AST importer, which must import the type parameters after creating their DeclContext to avoid loops.
Declared at: clang/include/clang/AST/DeclObjC.h:1285
Parameters
¶void startDefinition()
void startDefinition()
Description
Starts the definition of this Objective-C class, taking it from a forward declaration ( @ class) to a definition ( @ interface).
Declared at: clang/include/clang/AST/DeclObjC.h:1540
¶clang::ObjCInterfaceDecl::visible_categories_range
visible_categories() const
clang::ObjCInterfaceDecl::visible_categories_range
visible_categories() const
Declared at: clang/include/clang/AST/DeclObjC.h:1631
¶clang::ObjCInterfaceDecl::
visible_categories_iterator
visible_categories_begin() const
clang::ObjCInterfaceDecl::
visible_categories_iterator
visible_categories_begin() const
Description
Retrieve an iterator to the beginning of the visible-categories list.
Declared at: clang/include/clang/AST/DeclObjC.h:1638
¶bool visible_categories_empty() const
bool visible_categories_empty() const
Description
Determine whether the visible-categories list is empty.
Declared at: clang/include/clang/AST/DeclObjC.h:1648
¶clang::ObjCInterfaceDecl::
visible_categories_iterator
visible_categories_end() const
clang::ObjCInterfaceDecl::
visible_categories_iterator
visible_categories_end() const
Description
Retrieve an iterator to the end of the visible-categories list.
Declared at: clang/include/clang/AST/DeclObjC.h:1643
¶clang::ObjCInterfaceDecl::visible_extensions_range
visible_extensions() const
clang::ObjCInterfaceDecl::visible_extensions_range
visible_extensions() const
Declared at: clang/include/clang/AST/DeclObjC.h:1701
¶clang::ObjCInterfaceDecl::
visible_extensions_iterator
visible_extensions_begin() const
clang::ObjCInterfaceDecl::
visible_extensions_iterator
visible_extensions_begin() const
Description
Retrieve an iterator to the beginning of the visible-extensions list.
Declared at: clang/include/clang/AST/DeclObjC.h:1708
¶bool visible_extensions_empty() const
bool visible_extensions_empty() const
Description
Determine whether the visible-extensions list is empty.
Declared at: clang/include/clang/AST/DeclObjC.h:1718
¶clang::ObjCInterfaceDecl::
visible_extensions_iterator
visible_extensions_end() const
clang::ObjCInterfaceDecl::
visible_extensions_iterator
visible_extensions_end() const
Description
Retrieve an iterator to the end of the visible-extensions list.
Declared at: clang/include/clang/AST/DeclObjC.h:1713