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

Methods

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)

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()

Declared at: clang/include/clang/Basic/SourceManager.h:520