clang API Documentation

Public Types | Public Member Functions
clang::ObjCList< T > Class Template Reference

#include <DeclObjC.h>

Inheritance diagram for clang::ObjCList< T >:
Inheritance graph
[legend]
Collaboration diagram for clang::ObjCList< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T *const * iterator

Public Member Functions

void set (T *const *InList, unsigned Elts, ASTContext &Ctx)
iterator begin () const
iterator end () const
T * operator[] (unsigned Idx) const

Detailed Description

template<typename T>
class clang::ObjCList< T >

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 58 of file DeclObjC.h.


Member Typedef Documentation

template<typename T>
typedef T* const* clang::ObjCList< T >::iterator

Definition at line 64 of file DeclObjC.h.


Member Function Documentation

template<typename T>
iterator clang::ObjCList< T >::begin ( ) const [inline]
template<typename T>
iterator clang::ObjCList< T >::end ( ) const [inline]
template<typename T>
T* clang::ObjCList< T >::operator[] ( unsigned  Idx) const [inline]

Definition at line 68 of file DeclObjC.h.

template<typename T>
void clang::ObjCList< T >::set ( T *const *  InList,
unsigned  Elts,
ASTContext Ctx 
) [inline]

The documentation for this class was generated from the following file: