clang 20.0.0git
|
Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof. More...
#include "clang/AST/DeclObjC.h"
Public Types | |
using | iterator = ObjCTypeParamDecl ** |
Iterate through the type parameters in the list. | |
using | const_iterator = ObjCTypeParamDecl *const * |
Public Member Functions | |
iterator | begin () |
iterator | end () |
unsigned | size () const |
Determine the number of type parameters in this list. | |
const_iterator | begin () const |
const_iterator | end () const |
ObjCTypeParamDecl * | front () const |
ObjCTypeParamDecl * | back () const |
SourceLocation | getLAngleLoc () const |
SourceLocation | getRAngleLoc () const |
SourceRange | getSourceRange () const |
void | gatherDefaultTypeArgs (SmallVectorImpl< QualType > &typeArgs) const |
Gather the default set of type arguments to be substituted for these type parameters when dealing with an unspecialized type. | |
Static Public Member Functions | |
static ObjCTypeParamList * | create (ASTContext &ctx, SourceLocation lAngleLoc, ArrayRef< ObjCTypeParamDecl * > typeParams, SourceLocation rAngleLoc) |
Create a new Objective-C type parameter list. | |
Public Attributes | |
friend | TrailingObjects |
Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof.
Definition at line 658 of file DeclObjC.h.
using clang::ObjCTypeParamList::const_iterator = ObjCTypeParamDecl * const * |
Definition at line 689 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 679 of file DeclObjC.h.
|
inline |
Definition at line 704 of file DeclObjC.h.
Referenced by checkTypeParamListConsistency().
|
inline |
Definition at line 681 of file DeclObjC.h.
Referenced by clang::applyObjCTypeArgs(), checkTypeParamListConsistency(), end(), front(), and sameObjCTypeArgs().
|
inline |
Definition at line 691 of file DeclObjC.h.
|
static |
Create a new Objective-C type parameter list.
Definition at line 1520 of file DeclObjC.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::SemaObjC::actOnObjCTypeParamList(), clang::SemaObjC::ActOnStartClassInterface(), clang::ASTNodeImporter::ImportObjCTypeParamList(), and clang::ASTDeclReader::ReadObjCTypeParamList().
|
inline |
|
inline |
Definition at line 695 of file DeclObjC.h.
|
inline |
Definition at line 699 of file DeclObjC.h.
void ObjCTypeParamList::gatherDefaultTypeArgs | ( | SmallVectorImpl< QualType > & | typeArgs | ) | const |
Gather the default set of type arguments to be substituted for these type parameters when dealing with an unspecialized type.
Definition at line 1531 of file DeclObjC.cpp.
References size().
|
inline |
Definition at line 709 of file DeclObjC.h.
Referenced by clang::SemaObjC::ActOnStartCategoryInterface(), clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ASTNodeImporter::ImportObjCTypeParamList().
|
inline |
Definition at line 710 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ASTNodeImporter::ImportObjCTypeParamList().
|
inline |
Definition at line 711 of file DeclObjC.h.
Referenced by clang::SemaObjC::ActOnForwardClassDeclaration(), and clang::SemaObjC::ActOnStartCategoryInterface().
|
inline |
Determine the number of type parameters in this list.
Definition at line 686 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), clang::applyObjCTypeArgs(), back(), checkTypeParamListConsistency(), clang::ObjCObjectType::computeSuperClassTypeSlow(), end(), front(), and gatherDefaultTypeArgs().
friend clang::ObjCTypeParamList::TrailingObjects |
Definition at line 670 of file DeclObjC.h.