clang: clang::DeclarationNameLoc Class Reference (original) (raw)
DeclarationNameLoc - Additional source/type location info for a declaration name. More...
#include "[clang/AST/DeclarationName.h](DeclarationName%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
DeclarationNameLoc (DeclarationName Name) | |
DeclarationNameLoc () | |
TypeSourceInfo * | getNamedTypeInfo () const |
Returns the source type info. | |
SourceLocation | getCXXOperatorNameBeginLoc () const |
Return the beginning location of the getCXXOperatorNameRange() range. | |
SourceLocation | getCXXOperatorNameEndLoc () const |
Return the end location of the getCXXOperatorNameRange() range. | |
SourceRange | getCXXOperatorNameRange () const |
Return the range of the operator name (without the operator keyword). | |
SourceLocation | getCXXLiteralOperatorNameLoc () const |
Return the location of the literal operator name (without the operator keyword). | |
Static Public Member Functions | |
---|---|
static DeclarationNameLoc | makeNamedTypeLoc (TypeSourceInfo *TInfo) |
Construct location information for a constructor, destructor or conversion operator. | |
static DeclarationNameLoc | makeCXXOperatorNameLoc (SourceLocation BeginLoc, SourceLocation EndLoc) |
Construct location information for a non-literal C++ operator. | |
static DeclarationNameLoc | makeCXXOperatorNameLoc (SourceRange Range) |
Construct location information for a non-literal C++ operator. | |
static DeclarationNameLoc | makeCXXLiteralOperatorNameLoc (SourceLocation Loc) |
Construct location information for a literal C++ operator. | |
DeclarationNameLoc - Additional source/type location info for a declaration name.
Needs a DeclarationName in order to be interpreted correctly.
Definition at line 660 of file DeclarationName.h.
Definition at line 379 of file DeclarationName.cpp.
References clang::DeclarationName::CXXConstructorName, clang::DeclarationName::CXXConversionFunctionName, clang::DeclarationName::CXXDeductionGuideName, clang::DeclarationName::CXXDestructorName, clang::DeclarationName::CXXLiteralOperatorName, clang::DeclarationName::CXXOperatorName, clang::DeclarationName::CXXUsingDirective, clang::DeclarationName::Identifier, clang::DeclarationName::ObjCMultiArgSelector, clang::DeclarationName::ObjCOneArgSelector, and clang::DeclarationName::ObjCZeroArgSelector.
◆ DeclarationNameLoc() [2/2]
clang::DeclarationNameLoc::DeclarationNameLoc ( ) | inline |
---|
◆ getCXXLiteralOperatorNameLoc()
SourceLocation clang::DeclarationNameLoc::getCXXLiteralOperatorNameLoc ( ) const | inline |
---|
◆ getCXXOperatorNameBeginLoc()
SourceLocation clang::DeclarationNameLoc::getCXXOperatorNameBeginLoc ( ) const | inline |
---|
◆ getCXXOperatorNameEndLoc()
SourceLocation clang::DeclarationNameLoc::getCXXOperatorNameEndLoc ( ) const | inline |
---|
◆ getCXXOperatorNameRange()
SourceRange clang::DeclarationNameLoc::getCXXOperatorNameRange ( ) const | inline |
---|
◆ getNamedTypeInfo()
TypeSourceInfo * clang::DeclarationNameLoc::getNamedTypeInfo ( ) const | inline |
---|
◆ makeCXXLiteralOperatorNameLoc()
◆ makeCXXOperatorNameLoc() [1/2]
◆ makeCXXOperatorNameLoc() [2/2]
Construct location information for a non-literal C++ operator.
Definition at line 752 of file DeclarationName.h.
References Range.
◆ makeNamedTypeLoc()
◆ CXXLiteralOperatorName
struct CXXLitOpName clang::DeclarationNameLoc::CXXLiteralOperatorName
◆ CXXOperatorName
struct CXXOpName clang::DeclarationNameLoc::CXXOperatorName
◆ NamedType
struct NT clang::DeclarationNameLoc::NamedType
The documentation for this class was generated from the following files:
- include/clang/AST/DeclarationName.h
- lib/AST/DeclarationName.cpp