clang 19.0.0git
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

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 25 of file DeclGroup.h.

Member Function Documentation

◆ Create()

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

Definition at line 20 of file DeclGroup.cpp.

References clang::C.

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

◆ operator[]() [1/2]

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

Definition at line 40 of file DeclGroup.h.

◆ operator[]() [2/2]

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

Definition at line 45 of file DeclGroup.h.

◆ size()

unsigned clang::DeclGroup::size ( ) const

Definition at line 38 of file DeclGroup.h.

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

Member Data Documentation

◆ TrailingObjects

friend clang::DeclGroup::TrailingObjects

Definition at line 34 of file DeclGroup.h.

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