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] |
| SourceLocation clang::ElaboratedTypeLoc::getElaboratedKeywordLoc | ( | ) | const [inline] |
Definition at line 1518 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 1554 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 1537 of file TypeLoc.h.
References clang::TypeLoc::getEndLoc().
| TypeLoc clang::ElaboratedTypeLoc::getNamedTypeLoc | ( | ) | const [inline] |
Definition at line 1550 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 255 of file TypeLoc.cpp.
References 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 1521 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(), clang::Sema::getTypeName(), initializeLocal(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
| void clang::ElaboratedTypeLoc::setQualifierLoc | ( | NestedNameSpecifierLoc | QualifierLoc | ) | [inline] |
Definition at line 1530 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(), clang::Sema::getTypeName(), initializeLocal(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().