clang 20.0.0git
|
ObjCList - This is a simple template class used to hold various lists of decls etc, which is heavily used by the ObjC front-end. More...
#include "clang/AST/DeclObjC.h"
Public Types | |
using | iterator = T *const * |
Public Member Functions | |
void | set (T *const *InList, unsigned Elts, ASTContext &Ctx) |
iterator | begin () const |
iterator | end () const |
T * | operator[] (unsigned Idx) const |
Public Member Functions inherited from clang::ObjCListBase | |
ObjCListBase ()=default | |
ObjCListBase (const ObjCListBase &)=delete | |
ObjCListBase & | operator= (const ObjCListBase &)=delete |
unsigned | size () const |
bool | empty () const |
Additional Inherited Members | |
Protected Member Functions inherited from clang::ObjCListBase | |
void | set (void *const *InList, unsigned Elts, ASTContext &Ctx) |
Protected Attributes inherited from clang::ObjCListBase | |
void ** | List = nullptr |
List is an array of pointers to objects that are not owned by this object. | |
unsigned | NumElts = 0 |
ObjCList - This is a simple template class used to hold various lists of decls etc, which is heavily used by the ObjC front-end.
This only use case this supports is setting the list all at once and then reading elements out of it.
Definition at line 82 of file DeclObjC.h.
using clang::ObjCList< T >::iterator = T* const * |
Definition at line 88 of file DeclObjC.h.
|
inline |
Definition at line 90 of file DeclObjC.h.
References clang::ObjCListBase::List.
Referenced by AddObjCMethods(), clang::SemaObjC::CheckForwardProtocolDeclarationForCircularDependency(), FindImplementableMethods(), and clang::ObjCCategoryDecl::protocol_begin().
|
inline |
Definition at line 91 of file DeclObjC.h.
References clang::ObjCListBase::List, and clang::ObjCListBase::NumElts.
Referenced by AddObjCMethods(), clang::SemaObjC::CheckForwardProtocolDeclarationForCircularDependency(), FindImplementableMethods(), and clang::ObjCCategoryDecl::protocol_end().
|
inline |
Definition at line 93 of file DeclObjC.h.
References clang::ObjCListBase::List, clang::ObjCListBase::NumElts, and clang::T.
|
inline |
Definition at line 84 of file DeclObjC.h.
References clang::ObjCListBase::set().
Referenced by clang::SemaObjC::ActOnStartProtocolInterface().