|
clang 22.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 661 of file DeclObjC.h.
| using clang::ObjCTypeParamList::const_iterator = ObjCTypeParamDecl * const * |
Definition at line 692 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 682 of file DeclObjC.h.
|
inline |
Definition at line 705 of file DeclObjC.h.
Referenced by checkTypeParamListConsistency().
|
inline |
Definition at line 684 of file DeclObjC.h.
Referenced by clang::applyObjCTypeArgs(), checkTypeParamListConsistency(), end(), end(), front(), and sameObjCTypeArgs().
|
inline |
Definition at line 694 of file DeclObjC.h.
|
static |
Create a new Objective-C type parameter list.
Definition at line 1517 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 696 of file DeclObjC.h.
|
inline |
Definition at line 700 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 1528 of file DeclObjC.cpp.
References size().
|
inline |
Definition at line 710 of file DeclObjC.h.
Referenced by clang::SemaObjC::ActOnStartCategoryInterface(), clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ASTNodeImporter::ImportObjCTypeParamList().
|
inline |
Definition at line 711 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ASTNodeImporter::ImportObjCTypeParamList().
|
inline |
Definition at line 712 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 689 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), clang::applyObjCTypeArgs(), back(), checkTypeParamListConsistency(), end(), end(), front(), and gatherDefaultTypeArgs().
| friend clang::ObjCTypeParamList::TrailingObjects |
Definition at line 673 of file DeclObjC.h.