clang API Documentation
#include <SourceManagerInternals.h>

Static Public Member Functions | |
| static LineEntry | get (unsigned Offs, unsigned Line, int Filename, SrcMgr::CharacteristicKind FileKind, unsigned IncludeOffset) |
Public Attributes | |
| unsigned | FileOffset |
| FileOffset - The offset in this file that the line entry occurs at. | |
| unsigned | LineNo |
| LineNo - The presumed line number of this line entry: #line 4. | |
| int | FilenameID |
| SrcMgr::CharacteristicKind | FileKind |
| Flags - Set the 0 if no flags, 1 if a system header,. | |
| unsigned | IncludeOffset |
Definition at line 28 of file SourceManagerInternals.h.
| static LineEntry clang::LineEntry::get | ( | unsigned | Offs, |
| unsigned | Line, | ||
| int | Filename, | ||
| SrcMgr::CharacteristicKind | FileKind, | ||
| unsigned | IncludeOffset | ||
| ) | [inline, static] |
Definition at line 47 of file SourceManagerInternals.h.
References FileKind, FilenameID, FileOffset, IncludeOffset, and LineNo.
Referenced by clang::LineTableInfo::AddLineNote().
Flags - Set the 0 if no flags, 1 if a system header,.
Definition at line 40 of file SourceManagerInternals.h.
Referenced by get(), and clang::SourceManager::getFileCharacteristic().
FilenameID - The ID of the filename identified by this line entry: #line 4 "foo.c". This is -1 if not specified.
Definition at line 37 of file SourceManagerInternals.h.
Referenced by get().
| unsigned clang::LineEntry::FileOffset |
FileOffset - The offset in this file that the line entry occurs at.
Definition at line 30 of file SourceManagerInternals.h.
Referenced by get(), and clang::operator<().
| unsigned clang::LineEntry::IncludeOffset |
IncludeOffset - This is the offset of the virtual include stack location, which is manipulated by GNU linemarker directives. If this is 0 then there is no virtual #includer.
Definition at line 45 of file SourceManagerInternals.h.
Referenced by get().
| unsigned clang::LineEntry::LineNo |
LineNo - The presumed line number of this line entry: #line 4.
Definition at line 33 of file SourceManagerInternals.h.
Referenced by get().