clang API Documentation
#include <TypeLoc.h>
Public Member Functions | |
SourceLocation | getElaboratedKeywordLoc () const |
void | setElaboratedKeywordLoc (SourceLocation Loc) |
NestedNameSpecifierLoc | getQualifierLoc () const |
void | setQualifierLoc (NestedNameSpecifierLoc QualifierLoc) |
SourceRange | getLocalSourceRange () const |
Get the local source range. | |
void | initializeLocal (ASTContext &Context, SourceLocation Loc) |
TypeLoc | getNamedTypeLoc () const |
QualType | getInnerType () const |
void | copy (ElaboratedTypeLoc Loc) |
void clang::ElaboratedTypeLoc::copy | ( | ElaboratedTypeLoc | Loc | ) | [inline] |
Definition at line 1685 of file TypeLoc.h.
References clang::TypeLoc::Data, and clang::TypeLoc::getFullDataSize().
SourceLocation clang::ElaboratedTypeLoc::getElaboratedKeywordLoc | ( | ) | const [inline] |
Definition at line 1645 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
QualType clang::ElaboratedTypeLoc::getInnerType | ( | ) | const [inline] |
Reimplemented from clang::ConcreteTypeLoc< UnqualTypeLoc, ElaboratedTypeLoc, ElaboratedType, ElaboratedLocInfo >.
Definition at line 1681 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
SourceRange clang::ElaboratedTypeLoc::getLocalSourceRange | ( | ) | const [inline] |
Get the local source range.
Reimplemented from clang::TypeLoc.
Definition at line 1664 of file TypeLoc.h.
References clang::TypeLoc::getEndLoc().
TypeLoc clang::ElaboratedTypeLoc::getNamedTypeLoc | ( | ) | const [inline] |
Definition at line 1677 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getInnerTypeLoc().
Referenced by clang::Sema::ActOnTemplatedFriendTag(), and clang::Sema::ActOnTypenameType().
NestedNameSpecifierLoc clang::ElaboratedTypeLoc::getQualifierLoc | ( | ) | const [inline] |
void ElaboratedTypeLoc::initializeLocal | ( | ASTContext & | Context, |
SourceLocation | Loc | ||
) |
Definition at line 323 of file TypeLoc.cpp.
References Builder, clang::ConcreteTypeLoc< UnqualTypeLoc, ElaboratedTypeLoc, ElaboratedType, ElaboratedLocInfo >::getTypePtr(), clang::NestedNameSpecifierLocBuilder::getWithLocInContext(), clang::NestedNameSpecifierLocBuilder::MakeTrivial(), setElaboratedKeywordLoc(), and setQualifierLoc().
void clang::ElaboratedTypeLoc::setElaboratedKeywordLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1648 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
Referenced by clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplatedFriendTag(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), buildNestedType(), clang::Sema::BuildQualifiedDeclarationNameExpr(), clang::Sema::getTypeName(), initializeLocal(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
void clang::ElaboratedTypeLoc::setQualifierLoc | ( | NestedNameSpecifierLoc | QualifierLoc | ) | [inline] |
Definition at line 1657 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData(), clang::NestedNameSpecifierLoc::getNestedNameSpecifier(), clang::NestedNameSpecifierLoc::getOpaqueData(), and clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getTypePtr().
Referenced by clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplatedFriendTag(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), buildNestedType(), clang::Sema::BuildQualifiedDeclarationNameExpr(), clang::Sema::getTypeName(), initializeLocal(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().