class ExternalSLocEntrySource
Declaration
class ExternalSLocEntrySource { /* full declaration omitted */ };
Description
External source of source location entries.
Declared at: clang/include/clang/Basic/SourceManager.h:518
Method Overview
- public virtual bool ReadSLocEntry(int ID)
- public virtual std::pair<SourceLocation, StringRef> getModuleImportLoc(int ID)
- public virtual ~ExternalSLocEntrySource()
Methods
¶virtual bool ReadSLocEntry(int ID)
virtual bool ReadSLocEntry(int ID)
Description
Read the source location entry with index ID, which will always be less than -1.
Declared at: clang/include/clang/Basic/SourceManager.h:527
Parameters
- int ID
Returns
true if an error occurred that prevented the source-location entry from being loaded.
¶virtual std::pair<SourceLocation, StringRef>
getModuleImportLoc(int ID)
virtual std::pair<SourceLocation, StringRef>
getModuleImportLoc(int ID)
Description
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).
Declared at: clang/include/clang/Basic/SourceManager.h:532
Parameters
- int ID
¶virtual ~ExternalSLocEntrySource()
virtual ~ExternalSLocEntrySource()
Declared at: clang/include/clang/Basic/SourceManager.h:520