clang
3.9.0
|
Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof. More...
#include <DeclObjC.h>
Public Types | |
typedef ObjCTypeParamDecl ** | iterator |
Iterate through the type parameters in the list. More... | |
typedef ObjCTypeParamDecl *const * | const_iterator |
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 610 of file DeclObjC.h.
typedef ObjCTypeParamDecl* const* clang::ObjCTypeParamList::const_iterator |
Definition at line 651 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 641 of file DeclObjC.h.
|
inline |
Definition at line 666 of file DeclObjC.h.
Referenced by checkTypeParamListConsistency().
|
inline |
Definition at line 643 of file DeclObjC.h.
Referenced by applyObjCTypeArgs(), checkTypeParamListConsistency(), end(), front(), and sameObjCTypeArgs().
|
inline |
Definition at line 653 of file DeclObjC.h.
|
static |
Create a new Objective-C type parameter list.
Definition at line 1362 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 657 of file DeclObjC.h.
|
inline |
Definition at line 661 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 1373 of file DeclObjC.cpp.
References size().
|
inline |
Definition at line 671 of file DeclObjC.h.
References Brackets, and clang::SourceLocation::getFromRawEncoding().
Referenced by clang::Sema::ActOnStartCategoryInterface(), and getSourceRange().
|
inline |
Definition at line 674 of file DeclObjC.h.
References Brackets, and clang::SourceLocation::getFromRawEncoding().
Referenced by getSourceRange().
|
inline |
Definition at line 677 of file DeclObjC.h.
References getLAngleLoc(), and getRAngleLoc().
Referenced by clang::Sema::ActOnForwardClassDeclaration(), and clang::Sema::ActOnStartCategoryInterface().
|
inline |
Determine the number of type parameters in this list.
Definition at line 648 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), applyObjCTypeArgs(), back(), checkTypeParamListConsistency(), clang::ObjCObjectType::computeSuperClassTypeSlow(), end(), front(), and gatherDefaultTypeArgs().
ObjCTypeParamDecl* clang::ObjCTypeParamList::AlignmentHack |
Definition at line 623 of file DeclObjC.h.
PODSourceRange clang::ObjCTypeParamList::Brackets |
Location of the left and right angle brackets.
Definition at line 620 of file DeclObjC.h.
Referenced by getLAngleLoc(), and getRAngleLoc().
friend clang::ObjCTypeParamList::TrailingObjects |
Definition at line 684 of file DeclObjC.h.