clang API Documentation
#include <TypeLoc.h>
void clang::TemplateSpecializationTypeLoc::copy | ( | TemplateSpecializationTypeLoc | Loc | ) | [inline] |
Definition at line 1409 of file TypeLoc.h.
References clang::TypeLoc::Data, and clang::TypeLoc::getFullDataSize().
TemplateArgumentLoc clang::TemplateSpecializationTypeLoc::getArgLoc | ( | unsigned | i | ) | const [inline] |
Definition at line 1397 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
Referenced by isEnableIf().
TemplateArgumentLocInfo clang::TemplateSpecializationTypeLoc::getArgLocInfo | ( | unsigned | i | ) | const [inline] |
unsigned clang::TemplateSpecializationTypeLoc::getExtraLocalDataAlignment | ( | ) | const [inline] |
unsigned clang::TemplateSpecializationTypeLoc::getExtraLocalDataSize | ( | ) | const [inline] |
SourceLocation clang::TemplateSpecializationTypeLoc::getLAngleLoc | ( | ) | const [inline] |
Definition at line 1373 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
SourceRange clang::TemplateSpecializationTypeLoc::getLocalSourceRange | ( | ) | const [inline] |
Get the local source range.
Reimplemented from clang::TypeLoc.
unsigned clang::TemplateSpecializationTypeLoc::getNumArgs | ( | ) | const [inline] |
Definition at line 1387 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
Referenced by clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), and isEnableIf().
SourceLocation clang::TemplateSpecializationTypeLoc::getRAngleLoc | ( | ) | const [inline] |
Definition at line 1380 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
SourceLocation clang::TemplateSpecializationTypeLoc::getTemplateKeywordLoc | ( | ) | const [inline] |
Definition at line 1366 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
SourceLocation clang::TemplateSpecializationTypeLoc::getTemplateNameLoc | ( | ) | const [inline] |
Definition at line 1401 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData(), and clang::TypeSpecLocInfo::NameLoc.
Referenced by clang::TreeTransform< Derived >::TransformTemplateSpecializationType().
void TemplateSpecializationTypeLoc::initializeArgLocs | ( | ASTContext & | Context, |
unsigned | NumArgs, | ||
const TemplateArgument * | Args, | ||
TemplateArgumentLocInfo * | ArgInfos, | ||
SourceLocation | Loc | ||
) | [static] |
Definition at line 360 of file TypeLoc.cpp.
References Builder, clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::TemplateName::getAsDependentTemplateName(), clang::TemplateName::getAsQualifiedTemplateName(), clang::TemplateArgument::getAsTemplateOrTemplatePattern(), clang::TemplateArgument::getAsType(), clang::TemplateArgument::getKind(), getKind(), clang::ASTContext::getTrivialTypeSourceInfo(), clang::NestedNameSpecifierLocBuilder::getWithLocInContext(), clang::TemplateArgument::Integral, clang::NestedNameSpecifierLocBuilder::MakeTrivial(), clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.
Referenced by clang::DependentTemplateSpecializationTypeLoc::initializeLocal().
void clang::TemplateSpecializationTypeLoc::initializeLocal | ( | ASTContext & | Context, |
SourceLocation | Loc | ||
) | [inline] |
Definition at line 1427 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
void clang::TemplateSpecializationTypeLoc::setArgLocInfo | ( | unsigned | i, |
TemplateArgumentLocInfo | AI | ||
) | [inline] |
Definition at line 1390 of file TypeLoc.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
void clang::TemplateSpecializationTypeLoc::setLAngleLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1376 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
Referenced by clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
void clang::TemplateSpecializationTypeLoc::setRAngleLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1383 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
Referenced by clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
void clang::TemplateSpecializationTypeLoc::setTemplateKeywordLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1369 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
Referenced by clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
void clang::TemplateSpecializationTypeLoc::setTemplateNameLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1404 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData(), and clang::TypeSpecLocInfo::NameLoc.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().