clang
8.0.0
|
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. More... | |
using | const_iterator = ObjCTypeParamDecl *const * |
Public Member Functions | |
iterator | begin () |
iterator | end () |
unsigned | size () const |
Determine the number of type parameters in this list. More... | |
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. More... | |
Static Public Member Functions | |
static ObjCTypeParamList * | create (ASTContext &ctx, SourceLocation lAngleLoc, ArrayRef< ObjCTypeParamDecl *> typeParams, SourceLocation rAngleLoc) |
Create a new Objective-C type parameter list. More... | |
Public Attributes | |
friend | TrailingObjects |
PODSourceRange | Brackets |
Location of the left and right angle brackets. More... | |
ObjCTypeParamDecl * | AlignmentHack |
Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof.
Definition at line 637 of file DeclObjC.h.
using clang::ObjCTypeParamList::const_iterator = ObjCTypeParamDecl * const * |
Definition at line 680 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 670 of file DeclObjC.h.
|
inline |
Definition at line 695 of file DeclObjC.h.
References clang::ObjCListBase::size().
|
inline |
Definition at line 672 of file DeclObjC.h.
Referenced by sameObjCTypeArgs().
|
inline |
Definition at line 682 of file DeclObjC.h.
|
static |
Create a new Objective-C type parameter list.
Definition at line 1434 of file DeclObjC.cpp.
References clang::ASTContext::Allocate().
Referenced by clang::ASTNodeImporter::ImportObjCTypeParamList(), and clang::ASTDeclReader::ReadObjCTypeParamList().
|
inline |
Definition at line 674 of file DeclObjC.h.
References clang::ObjCListBase::size().
|
inline |
Definition at line 686 of file DeclObjC.h.
References clang::ObjCListBase::size().
|
inline |
Definition at line 690 of file DeclObjC.h.
References clang::ObjCListBase::size().
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 1445 of file DeclObjC.cpp.
|
inline |
Definition at line 700 of file DeclObjC.h.
References clang::SourceLocation::getFromRawEncoding().
Referenced by clang::Sema::ActOnStartCategoryInterface().
|
inline |
Definition at line 704 of file DeclObjC.h.
References clang::SourceLocation::getFromRawEncoding().
|
inline |
Definition at line 708 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 677 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), and clang::ObjCObjectType::computeSuperClassTypeSlow().
ObjCTypeParamDecl* clang::ObjCTypeParamList::AlignmentHack |
Definition at line 650 of file DeclObjC.h.
PODSourceRange clang::ObjCTypeParamList::Brackets |
Location of the left and right angle brackets.
Definition at line 647 of file DeclObjC.h.
friend clang::ObjCTypeParamList::TrailingObjects |
Definition at line 661 of file DeclObjC.h.