clang 20.0.0git
|
#include "clang/AST/DeclGroup.h"
Public Types | |
using | iterator = Decl ** |
using | const_iterator = Decl *const * |
Public Member Functions | |
DeclGroupRef ()=default | |
DeclGroupRef (Decl *d) | |
DeclGroupRef (DeclGroup *dg) | |
bool | isNull () const |
bool | isSingleDecl () const |
bool | isDeclGroup () const |
Decl * | getSingleDecl () |
const Decl * | getSingleDecl () const |
DeclGroup & | getDeclGroup () |
const DeclGroup & | getDeclGroup () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void * | getAsOpaquePtr () const |
Static Public Member Functions | |
static DeclGroupRef | Create (ASTContext &C, Decl **Decls, unsigned NumDecls) |
static DeclGroupRef | getFromOpaquePtr (void *Ptr) |
Definition at line 51 of file DeclGroup.h.
using clang::DeclGroupRef::const_iterator = Decl * const * |
Definition at line 77 of file DeclGroup.h.
using clang::DeclGroupRef::iterator = Decl ** |
Definition at line 76 of file DeclGroup.h.
|
default |
Referenced by Create().
|
inlineexplicit |
Definition at line 64 of file DeclGroup.h.
References D.
|
inlineexplicit |
Definition at line 65 of file DeclGroup.h.
References D.
|
inline |
Definition at line 99 of file DeclGroup.h.
References D, getDeclGroup(), and isSingleDecl().
Referenced by clang::SemaObjC::ActOnAtEnd(), clang::DeclStmt::children(), clang::SemaCodeCompletion::CodeCompleteObjCForCollection(), clang::DeclStmt::decl_begin(), clang::ASTNodeImporter::import(), clang::index::IndexingContext::indexDeclGroupRef(), and validateDeclsInsideHLSLBuffer().
|
inline |
Definition at line 112 of file DeclGroup.h.
References D, getDeclGroup(), and isSingleDecl().
|
inlinestatic |
Definition at line 68 of file DeclGroup.h.
References clang::C, clang::DeclGroup::Create(), and DeclGroupRef().
Referenced by clang::SemaOpenMP::ActOnOpenMPDeclareReductionDirectiveStart(), clang::SemaOpenMP::ActOnOpenMPTileDirective(), clang::Sema::BuildDeclaratorGroup(), buildPreInits(), clang::Sema::ConvertDeclToDeclGroup(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 105 of file DeclGroup.h.
References D, getDeclGroup(), isSingleDecl(), and clang::DeclGroup::size().
Referenced by clang::SemaObjC::ActOnAtEnd(), clang::DeclStmt::children(), clang::SemaCodeCompletion::CodeCompleteObjCForCollection(), clang::DeclStmt::decl_end(), clang::ASTNodeImporter::import(), clang::index::IndexingContext::indexDeclGroupRef(), and validateDeclsInsideHLSLBuffer().
|
inline |
Definition at line 118 of file DeclGroup.h.
References D, getDeclGroup(), isSingleDecl(), and clang::DeclGroup::size().
|
inline |
Definition at line 125 of file DeclGroup.h.
References D.
|
inline |
Definition at line 91 of file DeclGroup.h.
References D, and isDeclGroup().
Referenced by begin(), end(), and getDeclGroup().
|
inline |
Definition at line 95 of file DeclGroup.h.
References getDeclGroup().
|
inlinestatic |
Definition at line 126 of file DeclGroup.h.
References X.
Referenced by llvm::PointerLikeTypeTraits< clang::DeclGroupRef >::getFromVoidPointer().
|
inline |
Definition at line 83 of file DeclGroup.h.
References D, and isSingleDecl().
Referenced by clang::Sema::ActOnForEachDeclStmt(), getSingleDecl(), and clang::DeclStmt::getSingleDecl().
|
inline |
Definition at line 87 of file DeclGroup.h.
References getSingleDecl().
|
inline |
Definition at line 81 of file DeclGroup.h.
Referenced by getDeclGroup().
|
inline |
Definition at line 79 of file DeclGroup.h.
References D.
Referenced by clang::Sema::ActOnDeclStmt(), clang::Sema::ActOnForEachDeclStmt(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 80 of file DeclGroup.h.
Referenced by clang::Sema::ActOnForEachDeclStmt(), begin(), end(), getSingleDecl(), and clang::DeclStmt::isSingleDecl().