clang  6.0.0svn
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
clang::DeclGroup Class Referencefinal

#include "clang/AST/DeclGroup.h"

Inheritance diagram for clang::DeclGroup:
Inheritance graph
[legend]
Collaboration diagram for clang::DeclGroup:
Collaboration graph
[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)
 

Public Attributes

friend TrailingObjects
 

Detailed Description

Definition at line 28 of file DeclGroup.h.

Member Function Documentation

◆ Create()

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

Definition at line 19 of file DeclGroup.cpp.

References clang::ASTContext::Allocate().

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

◆ operator[]() [1/2]

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

Definition at line 41 of file DeclGroup.h.

◆ operator[]() [2/2]

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

Definition at line 46 of file DeclGroup.h.

◆ size()

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

Definition at line 39 of file DeclGroup.h.

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

Member Data Documentation

◆ TrailingObjects

friend clang::DeclGroup::TrailingObjects

Definition at line 51 of file DeclGroup.h.


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