clang 20.0.0git
Classes | Public Member Functions | Static Public Member Functions | List of all members
clang::DeclarationNameLoc Class Reference

DeclarationNameLoc - Additional source/type location info for a declaration name. More...

#include "clang/AST/DeclarationName.h"

Public Member Functions

 DeclarationNameLoc (DeclarationName Name)
 
 DeclarationNameLoc ()
 
TypeSourceInfogetNamedTypeInfo () 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 (