clang 20.0.0git
|
A list of Objective-C protocols, along with the source locations at which they were referenced. More...
#include "clang/AST/DeclObjC.h"
Public Types | |
using | loc_iterator = const SourceLocation * |
Public Types inherited from clang::ObjCList< ObjCProtocolDecl > | |
using | iterator = ObjCProtocolDecl *const * |
Public Member Functions | |
ObjCProtocolList ()=default | |
loc_iterator | loc_begin () const |
loc_iterator | loc_end () const |
void | set (ObjCProtocolDecl *const *InList, unsigned Elts, const SourceLocation *Locs, ASTContext &Ctx) |
Public Member Functions inherited from clang::ObjCList< ObjCProtocolDecl > | |
void | set (ObjCProtocolDecl *const *InList, unsigned Elts, ASTContext &Ctx) |
iterator | begin () const |
iterator | end () const |
ObjCProtocolDecl * | 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 |
A list of Objective-C protocols, along with the source locations at which they were referenced.
Definition at line 101 of file DeclObjC.h.
using clang::ObjCProtocolList::loc_iterator = const SourceLocation * |
Definition at line 109 of file DeclObjC.h.
|
default |
|
inline |
Definition at line 111 of file DeclObjC.h.
Referenced by clang::ObjCCategoryDecl::protocol_loc_begin().
|
inline |
Definition at line 112 of file DeclObjC.h.
References clang::ObjCListBase::size().
Referenced by clang::ObjCCategoryDecl::protocol_loc_end().
void ObjCProtocolList::set | ( | ObjCProtocolDecl *const * | InList, |
unsigned | Elts, | ||
const SourceLocation * | Locs, | ||
ASTContext & | Ctx | ||
) |
Definition at line 54 of file DeclObjC.cpp.
References memcpy(), and set().
Referenced by set(), and clang::ObjCCategoryDecl::setProtocolList().