class ObjCTypeParamList
Declaration
class ObjCTypeParamList : private TrailingObjects { /* full declaration omitted */ };
Description
Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof.
Declared at: clang/include/clang/AST/DeclObjC.h:660
Inherits from: TrailingObjects
Member Variables
- private clang::SourceRange Brackets
- Location of the left and right angle brackets.
- private unsigned int NumParams
- The number of parameters in the list, which are tail-allocated.
Method Overview
- private ObjCTypeParamList(clang::SourceLocation lAngleLoc, ArrayRef<clang::ObjCTypeParamDecl *> typeParams, clang::SourceLocation rAngleLoc)
- public clang::ObjCTypeParamDecl * back() const
- public clang::ObjCTypeParamList::iterator begin()
- public clang::ObjCTypeParamList::const_iterator begin() const
- public static clang::ObjCTypeParamList * create(clang::ASTContext & ctx, clang::SourceLocation lAngleLoc, ArrayRef<clang::ObjCTypeParamDecl *> typeParams, clang::SourceLocation rAngleLoc)
- public clang::ObjCTypeParamList::iterator end()
- public clang::ObjCTypeParamList::const_iterator end() const
- public clang::ObjCTypeParamDecl * front() const
- public void gatherDefaultTypeArgs(SmallVectorImpl<clang::QualType> & typeArgs) const
- public clang::SourceLocation getLAngleLoc() const
- public clang::SourceLocation getRAngleLoc() const
- public clang::SourceRange getSourceRange() const
- public unsigned int size() const
Methods
¶ObjCTypeParamList(
clang::SourceLocation lAngleLoc,
ArrayRef<clang::ObjCTypeParamDecl*>
typeParams,
clang::SourceLocation rAngleLoc)
ObjCTypeParamList(
clang::SourceLocation lAngleLoc,
ArrayRef<clang::ObjCTypeParamDecl*>
typeParams,
clang::SourceLocation rAngleLoc)
Declared at: clang/include/clang/AST/DeclObjC.h:667
Parameters
- clang::SourceLocation lAngleLoc
- ArrayRef<clang::ObjCTypeParamDecl*> typeParams
- clang::SourceLocation rAngleLoc
¶clang::ObjCTypeParamDecl* back() const
clang::ObjCTypeParamDecl* back() const
Declared at: clang/include/clang/AST/DeclObjC.h:706
¶clang::ObjCTypeParamList::iterator begin()
clang::ObjCTypeParamList::iterator begin()
Declared at: clang/include/clang/AST/DeclObjC.h:683
¶clang::ObjCTypeParamList::const_iterator begin()
const
clang::ObjCTypeParamList::const_iterator begin()
const
Declared at: clang/include/clang/AST/DeclObjC.h:693
¶static clang::ObjCTypeParamList* create(
clang::ASTContext& ctx,
clang::SourceLocation lAngleLoc,
ArrayRef<clang::ObjCTypeParamDecl*>
typeParams,
clang::SourceLocation rAngleLoc)
static clang::ObjCTypeParamList* create(
clang::ASTContext& ctx,
clang::SourceLocation lAngleLoc,
ArrayRef<clang::ObjCTypeParamDecl*>
typeParams,
clang::SourceLocation rAngleLoc)
Description
Create a new Objective-C type parameter list.
Declared at: clang/include/clang/AST/DeclObjC.h:675
Parameters
- clang::ASTContext& ctx
- clang::SourceLocation lAngleLoc
- ArrayRef<clang::ObjCTypeParamDecl*> typeParams
- clang::SourceLocation rAngleLoc
¶clang::ObjCTypeParamList::iterator end()
clang::ObjCTypeParamList::iterator end()
Declared at: clang/include/clang/AST/DeclObjC.h:685
¶clang::ObjCTypeParamList::const_iterator end()
const
clang::ObjCTypeParamList::const_iterator end()
const
Declared at: clang/include/clang/AST/DeclObjC.h:697
¶clang::ObjCTypeParamDecl* front() const
clang::ObjCTypeParamDecl* front() const
Declared at: clang/include/clang/AST/DeclObjC.h:701
¶void gatherDefaultTypeArgs(
SmallVectorImpl<clang::QualType>& typeArgs)
const
void gatherDefaultTypeArgs(
SmallVectorImpl<clang::QualType>& typeArgs)
const
Description
Gather the default set of type arguments to be substituted for these type parameters when dealing with an unspecialized type.
Declared at: clang/include/clang/AST/DeclObjC.h:717
Parameters
- SmallVectorImpl<clang::QualType>& typeArgs
¶clang::SourceLocation getLAngleLoc() const
clang::SourceLocation getLAngleLoc() const
Declared at: clang/include/clang/AST/DeclObjC.h:711
¶clang::SourceLocation getRAngleLoc() const
clang::SourceLocation getRAngleLoc() const
Declared at: clang/include/clang/AST/DeclObjC.h:712
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Declared at: clang/include/clang/AST/DeclObjC.h:713
¶unsigned int size() const
unsigned int size() const
Description
Determine the number of type parameters in this list.
Declared at: clang/include/clang/AST/DeclObjC.h:688