clang  6.0.0svn
Public Types | Public Member Functions | List of all members
clang::ObjCProtocolList Class Reference

A list of Objective-C protocols, along with the source locations at which they were referenced. More...

#include "clang/AST/DeclObjC.h"

Inheritance diagram for clang::ObjCProtocolList:
Inheritance graph
[legend]
Collaboration diagram for clang::ObjCProtocolList:
Collaboration graph
[legend]

Public Types

typedef const SourceLocationloc_iterator
 
- Public Types inherited from clang::ObjCList< ObjCProtocolDecl >
typedef ObjCProtocolDecl *const * iterator
 

Public Member Functions

 ObjCProtocolList ()
 
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
 
ObjCProtocolDecloperator[] (unsigned Idx) const
 
- Public Member Functions inherited from clang::ObjCListBase
 ObjCListBase ()
 
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
 List is an array of pointers to objects that are not owned by this object. More...
 
unsigned NumElts
 

Detailed Description

A list of Objective-C protocols, along with the source locations at which they were referenced.

Definition at line 76 of file DeclObjC.h.

Member Typedef Documentation

◆ loc_iterator

Definition at line 84 of file DeclObjC.h.

Constructor & Destructor Documentation

◆ ObjCProtocolList()

clang::ObjCProtocolList::ObjCProtocolList ( )
inline

Definition at line 82 of file DeclObjC.h.

Member Function Documentation

◆ loc_begin()

loc_iterator clang::ObjCProtocolList::loc_begin ( ) const
inline

Definition at line 85 of file DeclObjC.h.

Referenced by clang::ObjCCategoryDecl::protocol_loc_begin().

◆ loc_end()

loc_iterator clang::ObjCProtocolList::loc_end ( ) const
inline

Definition at line 86 of file DeclObjC.h.

References clang::ObjCListBase::size().

Referenced by clang::ObjCCategoryDecl::protocol_loc_end().

◆ set()

void ObjCProtocolList::set ( ObjCProtocolDecl *const *  InList,
unsigned  Elts,
const SourceLocation Locs,
ASTContext Ctx 
)

Definition at line 37 of file DeclObjC.cpp.

Referenced by clang::ObjCCategoryDecl::setProtocolList().


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