clang API Documentation

Public Member Functions | Static Public Member Functions
clang::DeclGroup Class Reference

#include <DeclGroup.h>

Collaboration diagram for clang::DeclGroup:
Collaboration graph
[legend]

List of all members.

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

Definition at line 32 of file DeclGroup.h.

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: