clang: clang::LineEntry Struct Reference (original) (raw)

#include "[clang/Basic/SourceManagerInternals.h](SourceManagerInternals%5F8h%5Fsource.html)"

Public Attributes
unsigned FileOffset
The offset in this file that the line entry occurs at.
unsigned LineNo
The presumed line number of this line entry: #line 4.
int FilenameID
The ID of the filename identified by this line entry: #line 4 "foo.c".
SrcMgr::CharacteristicKind FileKind
Set the 0 if no flags, 1 if a system header,.
unsigned IncludeOffset
The offset of the virtual include stack location, which is manipulated by GNU linemarker directives.

Definition at line 32 of file SourceManagerInternals.h.

get()

FileKind

FilenameID

int clang::LineEntry::FilenameID

The ID of the filename identified by this line entry: #line 4 "foo.c".

This is -1 if not specified.

Definition at line 41 of file SourceManagerInternals.h.

Referenced by get().

FileOffset

IncludeOffset

unsigned clang::LineEntry::IncludeOffset

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 50 of file SourceManagerInternals.h.

Referenced by get().

LineNo


The documentation for this struct was generated from the following file: