clang 23.0.0git
clang::ModuleNameLoc Class Referencefinal

#include "clang/Lex/Preprocessor.h"

Inheritance diagram for clang::ModuleNameLoc:
[legend]

Public Member Functions

unsigned getNumIdentifierLocs () const
ModuleIdPath getModuleIdPath () const
SourceLocation getBeginLoc () const
SourceLocation getEndLoc () const
SourceRange getRange () const
std::string str () const

Static Public Member Functions

static ModuleNameLocCreate (Preprocessor &PP, ModuleIdPath Path)

Detailed Description

Definition at line 164 of file Preprocessor.h.

Member Function Documentation

◆ Create()

◆ getBeginLoc()

SourceLocation clang::ModuleNameLoc::getBeginLoc ( ) const
inline

Definition at line 184 of file Preprocessor.h.

References getModuleIdPath().

Referenced by getRange().

◆ getEndLoc()

SourceLocation clang::ModuleNameLoc::getEndLoc ( ) const
inline

Definition at line 187 of file Preprocessor.h.

References getModuleIdPath(), and clang::Last.

Referenced by getRange().

◆ getModuleIdPath()

ModuleIdPath clang::ModuleNameLoc::getModuleIdPath ( ) const
inline

Definition at line 179 of file Preprocessor.h.

References getNumIdentifierLocs().

Referenced by getBeginLoc(), getEndLoc(), and str().

◆ getNumIdentifierLocs()

unsigned clang::ModuleNameLoc::getNumIdentifierLocs ( ) const
inline

Definition at line 178 of file Preprocessor.h.

Referenced by getModuleIdPath().

◆ getRange()

◆ str()

std::string clang::ModuleNameLoc::str ( ) const
inline

The documentation for this class was generated from the following files: