class MemberSpecializationInfo
Declaration
class MemberSpecializationInfo { /* full declaration omitted */ };
Description
Provides information a specialization of a member of a class template, which may be a member function, static data member, member class or member enumeration.
Declared at: clang/include/clang/AST/DeclTemplate.h:629
Member Variables
- private llvm::PointerIntPair<NamedDecl*, 2> MemberAndTSK
- private clang::SourceLocation PointOfInstantiation
Method Overview
- public MemberSpecializationInfo(clang::NamedDecl * IF, clang::TemplateSpecializationKind TSK, clang::SourceLocation POI = clang::SourceLocation())
- public clang::NamedDecl * getInstantiatedFrom() const
- public clang::SourceLocation getPointOfInstantiation() const
- public clang::TemplateSpecializationKind getTemplateSpecializationKind() const
- public bool isExplicitSpecialization() const
- public void setPointOfInstantiation(clang::SourceLocation POI)
- public void setTemplateSpecializationKind(clang::TemplateSpecializationKind TSK)
Methods
¶MemberSpecializationInfo(
clang::NamedDecl* IF,
clang::TemplateSpecializationKind TSK,
clang::SourceLocation POI =
clang::SourceLocation())
MemberSpecializationInfo(
clang::NamedDecl* IF,
clang::TemplateSpecializationKind TSK,
clang::SourceLocation POI =
clang::SourceLocation())
Declared at: clang/include/clang/AST/DeclTemplate.h:639
Parameters
- clang::NamedDecl* IF
- clang::TemplateSpecializationKind TSK
- clang::SourceLocation POI = clang::SourceLocation()
¶clang::NamedDecl* getInstantiatedFrom() const
clang::NamedDecl* getInstantiatedFrom() const
Description
Retrieve the member declaration from which this member was instantiated.
Declared at: clang/include/clang/AST/DeclTemplate.h:648
¶clang::SourceLocation getPointOfInstantiation()
const
clang::SourceLocation getPointOfInstantiation()
const
Description
Retrieve the first point of instantiation of this member. If the point of instantiation is an invalid location, then this member has not yet been instantiated.
Declared at: clang/include/clang/AST/DeclTemplate.h:669
¶clang::TemplateSpecializationKind
getTemplateSpecializationKind() const
clang::TemplateSpecializationKind
getTemplateSpecializationKind() const
Description
Determine what kind of template specialization this is.
Declared at: clang/include/clang/AST/DeclTemplate.h:651
¶bool isExplicitSpecialization() const
bool isExplicitSpecialization() const
Declared at: clang/include/clang/AST/DeclTemplate.h:655
¶void setPointOfInstantiation(
clang::SourceLocation POI)
void setPointOfInstantiation(
clang::SourceLocation POI)
Description
Set the first point of instantiation.
Declared at: clang/include/clang/AST/DeclTemplate.h:674
Parameters
¶void setTemplateSpecializationKind(
clang::TemplateSpecializationKind TSK)
void setTemplateSpecializationKind(
clang::TemplateSpecializationKind TSK)
Description
Set the template specialization kind.
Declared at: clang/include/clang/AST/DeclTemplate.h:660
Parameters
- clang::TemplateSpecializationKind TSK