clang 18.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 657 of file DeclObjC.h.
using clang::ObjCTypeParamList::const_iterator = ObjCTypeParamDecl * const * |
Definition at line 688 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 678 of file DeclObjC.h.
|
inline |
Definition at line 703 of file DeclObjC.h.
Referenced by checkTypeParamListConsistency().
|
inline |
Definition at line 680 of file DeclObjC.h.
Referenced by applyObjCTypeArgs(), checkTypeParamListConsistency(), end(), front(), and sameObjCTypeArgs().
|
inline |
Definition at line 690 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::Sema::actOnObjCTypeParamList(), clang::Sema::ActOnStartClassInterface(), clang::ASTNodeImporter::ImportObjCTypeParamList(), and clang::ASTDeclReader::ReadObjCTypeParamList().
|
inline |
|
inline |
Definition at line 694 of file DeclObjC.h.
|
inline |
Definition at line 698 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 708 of file DeclObjC.h.
Referenced by clang::Sema::ActOnStartCategoryInterface(), clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ASTNodeImporter::ImportObjCTypeParamList().
|
inline |
Definition at line 709 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ASTNodeImporter::ImportObjCTypeParamList().
|
inline |
Definition at line 710 of file DeclObjC.h.
Referenced by clang::Sema::ActOnForwardClassDeclaration(), and clang::Sema::ActOnStartCategoryInterface().
|
inline |
Determine the number of type parameters in this list.
Definition at line 685 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), applyObjCTypeArgs(), back(), checkTypeParamListConsistency(), clang::ObjCObjectType::computeSuperClassTypeSlow(), end(), front(), and gatherDefaultTypeArgs().
friend clang::ObjCTypeParamList::TrailingObjects |
Definition at line 669 of file DeclObjC.h.