clang API Documentation
External source of source location entries. More...
#include <SourceManager.h>
Public Member Functions | |
virtual | ~ExternalSLocEntrySource () |
virtual bool | ReadSLocEntry (int ID)=0 |
Read the source location entry with index ID, which will always be less than -1. | |
virtual std::pair < SourceLocation, StringRef > | getModuleImportLoc (int ID)=0 |
Retrieve the module import location and name for the given ID, if in fact it was loaded from a module (rather than, say, a precompiled header). |
External source of source location entries.
Definition at line 443 of file SourceManager.h.
ExternalSLocEntrySource::~ExternalSLocEntrySource | ( | ) | [virtual] |
Definition at line 2131 of file SourceManager.cpp.
virtual std::pair<SourceLocation, StringRef> clang::ExternalSLocEntrySource::getModuleImportLoc | ( | int | ID | ) | [pure virtual] |
Retrieve the module import location and name for the given ID, if in fact it was loaded from a module (rather than, say, a precompiled header).
Implemented in clang::ASTReader.
Referenced by clang::SourceManager::getModuleImportLoc().
virtual bool clang::ExternalSLocEntrySource::ReadSLocEntry | ( | int | ID | ) | [pure virtual] |
Read the source location entry with index ID, which will always be less than -1.
Implemented in clang::ASTReader.