|
clang
3.8.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 615 of file DeclObjC.h.
| typedef ObjCTypeParamDecl* const* clang::ObjCTypeParamList::const_iterator |
Definition at line 656 of file DeclObjC.h.
Iterate through the type parameters in the list.
Definition at line 646 of file DeclObjC.h.
|
inline |
Definition at line 671 of file DeclObjC.h.
Referenced by checkTypeParamListConsistency().
|
inline |
Definition at line 648 of file DeclObjC.h.
Referenced by applyObjCTypeArgs(), checkTypeParamListConsistency(), end(), front(), and sameObjCTypeArgs().
|
inline |
Definition at line 658 of file DeclObjC.h.
|
static |
Create a new Objective-C type parameter list.
Definition at line 1328 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 662 of file DeclObjC.h.
|
inline |
Definition at line 666 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 1339 of file DeclObjC.cpp.
References size().
|
inline |
Definition at line 676 of file DeclObjC.h.
References Brackets, and clang::SourceLocation::getFromRawEncoding().
Referenced by clang::Sema::ActOnStartCategoryInterface(), and getSourceRange().
|
inline |
Definition at line 679 of file DeclObjC.h.
References Brackets, and clang::SourceLocation::getFromRawEncoding().
Referenced by getSourceRange().
|
inline |
Definition at line 682 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 653 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 628 of file DeclObjC.h.
| PODSourceRange clang::ObjCTypeParamList::Brackets |
Location of the left and right angle brackets.
Definition at line 625 of file DeclObjC.h.
Referenced by getLAngleLoc(), and getRAngleLoc().
| friend clang::ObjCTypeParamList::TrailingObjects |
Definition at line 689 of file DeclObjC.h.
1.8.6