clang API Documentation
#include <DeclObjC.h>


Public Member Functions | |
| ObjCListBase () | |
| unsigned | size () const |
| bool | empty () const |
Protected Member Functions | |
| void | set (void *const *InList, unsigned Elts, ASTContext &Ctx) |
Protected Attributes | |
| void ** | List |
| List is an array of pointers to objects that are not owned by this object. | |
| unsigned | NumElts |
Definition at line 35 of file DeclObjC.h.
| clang::ObjCListBase::ObjCListBase | ( | ) | [inline] |
Definition at line 44 of file DeclObjC.h.
| bool clang::ObjCListBase::empty | ( | ) | const [inline] |
Definition at line 46 of file DeclObjC.h.
References NumElts.
Referenced by rewriteToObjCInterfaceDecl().
| void ObjCListBase::set | ( | void *const * | InList, |
| unsigned | Elts, | ||
| ASTContext & | Ctx | ||
| ) | [protected] |
Definition at line 27 of file DeclObjC.cpp.
| unsigned clang::ObjCListBase::size | ( | ) | const [inline] |
Definition at line 45 of file DeclObjC.h.
References NumElts.
Referenced by clang::ObjCProtocolList::loc_end(), and clang::ObjCCategoryDecl::protocol_size().
void** clang::ObjCListBase::List [protected] |
List is an array of pointers to objects that are not owned by this object.
Definition at line 40 of file DeclObjC.h.
Referenced by clang::ObjCList< ObjCProtocolDecl >::begin(), clang::ObjCList< ObjCProtocolDecl >::end(), clang::ObjCList< ObjCProtocolDecl >::operator[](), and set().
unsigned clang::ObjCListBase::NumElts [protected] |
Definition at line 41 of file DeclObjC.h.
Referenced by empty(), clang::ObjCList< ObjCProtocolDecl >::end(), clang::ObjCList< ObjCProtocolDecl >::operator[](), set(), and size().