clang  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
clang::DeclGroup Class Reference

#include <DeclGroup.h>

Collaboration diagram for clang::DeclGroup:
[legend]

Public Member Functions

unsigned size () const
 
Decl *& operator[] (unsigned i)
 
Decl *const & operator[] (unsigned i) const
 

Static Public Member Functions

static DeclGroupCreate (ASTContext &C, Decl **Decls, unsigned NumDecls)
 

Detailed Description

Definition at line 27 of file DeclGroup.h.

Member Function Documentation

DeclGroup * DeclGroup::Create ( ASTContext C,
Decl **  Decls,
unsigned  NumDecls 
)
static

Definition at line 20 of file DeclGroup.cpp.

References clang::ASTContext::Allocate(), and NumDecls.

Referenced by clang::DeclGroupRef::Create().

Decl*& clang::DeclGroup::operator[] ( unsigned  i)
inline

Definition at line 44 of file DeclGroup.h.

References NumDecls.

Decl* const& clang::DeclGroup::operator[] ( unsigned  i) const
inline

Definition at line 49 of file DeclGroup.h.

References NumDecls.

unsigned clang::DeclGroup::size ( ) const
inline

Definition at line 42 of file DeclGroup.h.

References NumDecls.

Referenced by clang::DeclGroupRef::end().

Member Data Documentation

Decl* clang::DeclGroup::Aligner

Definition at line 32 of file DeclGroup.h.

unsigned clang::DeclGroup::NumDecls

Definition at line 30 of file DeclGroup.h.

Referenced by Create(), operator[](), and size().


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