clang
3.7.0
|
#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 |
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... | |
Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof.
Definition at line 615 of file DeclObjC.h.
typedef ObjCTypeParamDecl* const* clang::ObjCTypeParamList::const_iterator |
Definition at line 655 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 645 of file DeclObjC.h.
|
inline |
Definition at line 670 of file DeclObjC.h.
Referenced by checkTypeParamListConsistency().
|
inline |
Definition at line 647 of file DeclObjC.h.
Referenced by applyObjCTypeArgs(), checkTypeParamListConsistency(), end(), front(), and sameObjCTypeArgs().
|
inline |
Definition at line 657 of file DeclObjC.h.
|
static |
Create a new Objective-C type parameter list.
Definition at line 1270 of file DeclObjC.cpp.
References clang::ASTContext::Allocate(), and size().
Referenced by clang::Sema::actOnObjCTypeParamList(), clang::Sema::ActOnStartClassInterface(), clang::ASTNodeImporter::ImportObjCTypeParamList(), and clang::ASTDeclReader::ReadObjCTypeParamList().
|
inline |
|
inline |
Definition at line 661 of file DeclObjC.h.
|
inline |
Definition at line 665 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 1285 of file DeclObjC.cpp.
References size().
|
inline |
Definition at line 675 of file DeclObjC.h.
References Brackets, and clang::SourceLocation::getFromRawEncoding().
Referenced by clang::Sema::ActOnStartCategoryInterface(), and getSourceRange().
|
inline |
Definition at line 678 of file DeclObjC.h.
References Brackets, and clang::SourceLocation::getFromRawEncoding().
Referenced by getSourceRange().
|
inline |
Definition at line 681 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 652 of file DeclObjC.h.
Referenced by clang::ASTDeclWriter::AddObjCTypeParamList(), applyObjCTypeArgs(), back(), checkTypeParamListConsistency(), clang::ObjCObjectType::computeSuperClassTypeSlow(), create(), end(), front(), and gatherDefaultTypeArgs().
ObjCTypeParamDecl* clang::ObjCTypeParamList::AlignmentHack |
Definition at line 627 of file DeclObjC.h.
PODSourceRange clang::ObjCTypeParamList::Brackets |
Location of the left and right angle brackets.
Definition at line 624 of file DeclObjC.h.
Referenced by getLAngleLoc(), and getRAngleLoc().