clang 22.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 47 of file DeclGroup.h.
using clang::DeclGroupRef::const_iterator = Decl * const * |
Definition at line 73 of file DeclGroup.h.
using clang::DeclGroupRef::iterator = Decl ** |
Definition at line 72 of file DeclGroup.h.
|
default |
Referenced by Create(), getDeclGroup(), getFromOpaquePtr(), and getSingleDecl().
|
inlineexplicit |
Definition at line 60 of file DeclGroup.h.
|
inlineexplicit |
Definition at line 61 of file DeclGroup.h.
|
inline |
Definition at line 95 of file DeclGroup.h.
References getDeclGroup(), and isSingleDecl().
Referenced by clang::SemaObjC::ActOnAtEnd(), clang::SemaCodeCompletion::CodeCompleteObjCForCollection(), clang::BackendConsumer::HandleTopLevelDecl(), clang::ASTNodeImporter::import(), and clang::index::IndexingContext::indexDeclGroupRef().
|
inline |
Definition at line 108 of file DeclGroup.h.
References getDeclGroup(), and isSingleDecl().
|
inlinestatic |
Definition at line 64 of file DeclGroup.h.
References clang::C, clang::DeclGroup::Create(), and DeclGroupRef().
Referenced by clang::SemaOpenMP::ActOnOpenMPDeclareReductionDirectiveStart(), clang::SemaOpenMP::ActOnOpenMPStripeDirective(), clang::SemaOpenMP::ActOnOpenMPTileDirective(), clang::Sema::BuildDeclaratorGroup(), buildPreInits(), clang::Sema::ConvertDeclToDeclGroup(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 101 of file DeclGroup.h.
References getDeclGroup(), isSingleDecl(), and clang::DeclGroup::size().
Referenced by clang::SemaObjC::ActOnAtEnd(), clang::SemaCodeCompletion::CodeCompleteObjCForCollection(), clang::ASTNodeImporter::import(), and clang::index::IndexingContext::indexDeclGroupRef().
|
inline |
Definition at line 114 of file DeclGroup.h.
References getDeclGroup(), isSingleDecl(), and clang::DeclGroup::size().
|
inline |
Definition at line 121 of file DeclGroup.h.
Referenced by llvm::PointerLikeTypeTraits< clang::DeclGroupRef >::getAsVoidPointer().
|
inline |
Definition at line 87 of file DeclGroup.h.
References isDeclGroup().
Referenced by begin(), begin(), end(), end(), and getDeclGroup().
|
inline |
Definition at line 91 of file DeclGroup.h.
References DeclGroupRef(), and getDeclGroup().
|
inlinestatic |
Definition at line 122 of file DeclGroup.h.
References DeclGroupRef(), and X.
Referenced by llvm::PointerLikeTypeTraits< clang::DeclGroupRef >::getFromVoidPointer().
|
inline |
Definition at line 79 of file DeclGroup.h.
References isSingleDecl().
Referenced by clang::SemaOpenACC::ActOnEndRoutineDeclDirective(), clang::Sema::ActOnForEachDeclStmt(), clang::SemaOpenMP::ActOnOpenMPDeclareSimdDirective(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), and getSingleDecl().
|
inline |
Definition at line 83 of file DeclGroup.h.
References DeclGroupRef(), and getSingleDecl().
|
inline |
Definition at line 77 of file DeclGroup.h.
Referenced by getDeclGroup().
|
inline |
Definition at line 75 of file DeclGroup.h.
Referenced by clang::Sema::ActOnDeclStmt(), clang::Sema::ActOnForEachDeclStmt(), clang::SemaOpenMP::ActOnOpenMPDeclareSimdDirective(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), clang::InProcessPrintingASTConsumer::HandleTopLevelDecl(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 76 of file DeclGroup.h.
Referenced by clang::SemaOpenACC::ActOnEndRoutineDeclDirective(), clang::Sema::ActOnForEachDeclStmt(), clang::SemaOpenMP::ActOnOpenMPDeclareSimdDirective(), begin(), begin(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), end(), end(), and getSingleDecl().