clang API Documentation
#include <TypeLoc.h>


Public Member Functions | |
| SourceLocation | getElaboratedKeywordLoc () const |
| void | setElaboratedKeywordLoc (SourceLocation Loc) |
| NestedNameSpecifierLoc | getQualifierLoc () const |
| void | setQualifierLoc (NestedNameSpecifierLoc QualifierLoc) |
| SourceLocation | getNameLoc () const |
| void | setNameLoc (SourceLocation Loc) |
| SourceRange | getLocalSourceRange () const |
| Get the local source range. | |
| void | copy (DependentNameTypeLoc Loc) |
| void | initializeLocal (ASTContext &Context, SourceLocation Loc) |
| void clang::DependentNameTypeLoc::copy | ( | DependentNameTypeLoc | Loc | ) | [inline] |
Definition at line 1736 of file TypeLoc.h.
References clang::TypeLoc::Data, and clang::TypeLoc::getFullDataSize().
| SourceLocation clang::DependentNameTypeLoc::getElaboratedKeywordLoc | ( | ) | const [inline] |
Definition at line 1703 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
| SourceRange clang::DependentNameTypeLoc::getLocalSourceRange | ( | ) | const [inline] |
Get the local source range.
Reimplemented from clang::TypeLoc.
Definition at line 1729 of file TypeLoc.h.
References clang::TypeLoc::getBeginLoc(), and clang::TypeSpecTypeLoc::getNameLoc().
| SourceLocation clang::DependentNameTypeLoc::getNameLoc | ( | ) | const [inline] |
Definition at line 1722 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData(), and clang::TypeSpecLocInfo::NameLoc.
| NestedNameSpecifierLoc clang::DependentNameTypeLoc::getQualifierLoc | ( | ) | const [inline] |
| void DependentNameTypeLoc::initializeLocal | ( | ASTContext & | Context, |
| SourceLocation | Loc | ||
| ) |
Definition at line 331 of file TypeLoc.cpp.
References Builder, clang::ConcreteTypeLoc< UnqualTypeLoc, DependentNameTypeLoc, DependentNameType, DependentNameLocInfo >::getTypePtr(), clang::NestedNameSpecifierLocBuilder::getWithLocInContext(), clang::NestedNameSpecifierLocBuilder::MakeTrivial(), setElaboratedKeywordLoc(), setNameLoc(), and setQualifierLoc().
| void clang::DependentNameTypeLoc::setElaboratedKeywordLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1706 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData().
Referenced by clang::Sema::ActOnDelayedDefaultTemplateArg(), clang::Sema::ActOnDependentTag(), clang::Sema::ActOnTemplatedFriendTag(), clang::Sema::ActOnTypenameType(), clang::Sema::CheckTemplateTypeArgument(), initializeLocal(), and recoverFromTypeInKnownDependentBase().
| void clang::DependentNameTypeLoc::setNameLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 1725 of file TypeLoc.h.
References clang::ConcreteTypeLoc< UnqualTypeLoc, TypeSpecTypeLoc, Type, TypeSpecLocInfo >::getLocalData(), and clang::TypeSpecLocInfo::NameLoc.
Referenced by clang::Sema::ActOnDelayedDefaultTemplateArg(), clang::Sema::ActOnDependentTag(), clang::Sema::ActOnTemplatedFriendTag(), clang::Sema::ActOnTypenameType(), clang::Sema::CheckTemplateTypeArgument(), initializeLocal(), and recoverFromTypeInKnownDependentBase().
| void clang::DependentNameTypeLoc::setQualifierLoc | ( | NestedNameSpecifierLoc | QualifierLoc | ) | [inline] |
Definition at line 1715 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::ActOnDelayedDefaultTemplateArg(), clang::Sema::ActOnDependentTag(), clang::Sema::ActOnTemplatedFriendTag(), clang::Sema::ActOnTypenameType(), clang::Sema::CheckTemplateTypeArgument(), initializeLocal(), and recoverFromTypeInKnownDependentBase().