class DeclarationNameLoc
Declaration
class DeclarationNameLoc { /* full declaration omitted */ };
Description
DeclarationNameLoc - Additional source/type location info for a declaration name. Needs a DeclarationName in order to be interpreted correctly.
Declared at: clang/include/clang/AST/DeclarationName.h:659
Member Variables
- private anonymous struct / union
Method Overview
- public DeclarationNameLoc(clang::DeclarationName Name)
- public DeclarationNameLoc()
- public clang::SourceLocation getCXXLiteralOperatorNameLoc() const
- public clang::SourceLocation getCXXOperatorNameBeginLoc() const
- public clang::SourceLocation getCXXOperatorNameEndLoc() const
- public clang::SourceRange getCXXOperatorNameRange() const
- public clang::TypeSourceInfo * getNamedTypeInfo() const
- public static clang::DeclarationNameLoc makeCXXLiteralOperatorNameLoc(clang::SourceLocation Loc)
- public static clang::DeclarationNameLoc makeCXXOperatorNameLoc(clang::SourceLocation BeginLoc, clang::SourceLocation EndLoc)
- public static clang::DeclarationNameLoc makeCXXOperatorNameLoc(clang::SourceRange Range)
- public static clang::DeclarationNameLoc makeNamedTypeLoc(clang::TypeSourceInfo * TInfo)
- private void setCXXLiteralOperatorNameLoc(clang::SourceLocation Loc)
- private void setCXXOperatorNameRange(clang::SourceRange Range)
- private void setNamedTypeLoc(clang::TypeSourceInfo * TInfo)
Methods
¶DeclarationNameLoc(clang::DeclarationName Name)
DeclarationNameLoc(clang::DeclarationName Name)
Declared at: clang/include/clang/AST/DeclarationName.h:703
Parameters
¶DeclarationNameLoc()
DeclarationNameLoc()
Declared at: clang/include/clang/AST/DeclarationName.h:705
¶clang::SourceLocation
getCXXLiteralOperatorNameLoc() const
clang::SourceLocation
getCXXLiteralOperatorNameLoc() const
Description
Return the location of the literal operator name (without the operator keyword). Assumes that the object stores location information of a literal operator.
Declared at: clang/include/clang/AST/DeclarationName.h:732
¶clang::SourceLocation getCXXOperatorNameBeginLoc()
const
clang::SourceLocation getCXXOperatorNameBeginLoc()
const
Description
Return the beginning location of the getCXXOperatorNameRange() range.
Declared at: clang/include/clang/AST/DeclarationName.h:712
¶clang::SourceLocation getCXXOperatorNameEndLoc()
const
clang::SourceLocation getCXXOperatorNameEndLoc()
const
Description
Return the end location of the getCXXOperatorNameRange() range.
Declared at: clang/include/clang/AST/DeclarationName.h:717
¶clang::SourceRange getCXXOperatorNameRange() const
clang::SourceRange getCXXOperatorNameRange() const
Description
Return the range of the operator name (without the operator keyword). Assumes that the object stores location information of a (non-literal) operator.
Declared at: clang/include/clang/AST/DeclarationName.h:724
¶clang::TypeSourceInfo* getNamedTypeInfo() const
clang::TypeSourceInfo* getNamedTypeInfo() const
Description
Returns the source type info. Assumes that the object stores location information of a constructor, destructor or conversion operator.
Declared at: clang/include/clang/AST/DeclarationName.h:709
¶static clang::DeclarationNameLoc
makeCXXLiteralOperatorNameLoc(
clang::SourceLocation Loc)
static clang::DeclarationNameLoc
makeCXXLiteralOperatorNameLoc(
clang::SourceLocation Loc)
Description
Construct location information for a literal C++ operator.
Declared at: clang/include/clang/AST/DeclarationName.h:758
Parameters
¶static clang::DeclarationNameLoc
makeCXXOperatorNameLoc(
clang::SourceLocation BeginLoc,
clang::SourceLocation EndLoc)
static clang::DeclarationNameLoc
makeCXXOperatorNameLoc(
clang::SourceLocation BeginLoc,
clang::SourceLocation EndLoc)
Description
Construct location information for a non-literal C++ operator.
Declared at: clang/include/clang/AST/DeclarationName.h:745
Parameters
- clang::SourceLocation BeginLoc
- clang::SourceLocation EndLoc
¶static clang::DeclarationNameLoc
makeCXXOperatorNameLoc(clang::SourceRange Range)
static clang::DeclarationNameLoc
makeCXXOperatorNameLoc(clang::SourceRange Range)
Description
Construct location information for a non-literal C++ operator.
Declared at: clang/include/clang/AST/DeclarationName.h:751
Parameters
- clang::SourceRange Range
¶static clang::DeclarationNameLoc makeNamedTypeLoc(
clang::TypeSourceInfo* TInfo)
static clang::DeclarationNameLoc makeNamedTypeLoc(
clang::TypeSourceInfo* TInfo)
Description
Construct location information for a constructor, destructor or conversion operator.
Declared at: clang/include/clang/AST/DeclarationName.h:738
Parameters
- clang::TypeSourceInfo* TInfo
¶void setCXXLiteralOperatorNameLoc(
clang::SourceLocation Loc)
void setCXXLiteralOperatorNameLoc(
clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/DeclarationName.h:698
Parameters
¶void setCXXOperatorNameRange(
clang::SourceRange Range)
void setCXXOperatorNameRange(
clang::SourceRange Range)
Declared at: clang/include/clang/AST/DeclarationName.h:693
Parameters
- clang::SourceRange Range
¶void setNamedTypeLoc(clang::TypeSourceInfo* TInfo)
void setNamedTypeLoc(clang::TypeSourceInfo* TInfo)
Declared at: clang/include/clang/AST/DeclarationName.h:691
Parameters
- clang::TypeSourceInfo* TInfo