struct LineEntry

Declaration

struct LineEntry { /* full declaration omitted */ };

Declared at: clang/include/clang/Basic/SourceManagerInternals.h:32

Member Variables

public unsigned int FileOffset
The offset in this file that the line entry occurs at.
public unsigned int LineNo
The presumed line number of this line entry: # line 4.
public int FilenameID
The ID of the filename identified by this line entry: # line 4 "foo.c". This is -1 if not specified.
public SrcMgr::CharacteristicKind FileKind
Set the 0 if no flags, 1 if a system header,
public unsigned int IncludeOffset
If this is 0 then there is no virtual # includer.

Method Overview

  • public static clang::LineEntry get(unsigned int Offs, unsigned int Line, int Filename, SrcMgr::CharacteristicKind FileKind, unsigned int IncludeOffset)

Methods

ΒΆstatic clang::LineEntry get(
    unsigned int Offs,
    unsigned int Line,
    int Filename,
    SrcMgr::CharacteristicKind FileKind,
    unsigned int IncludeOffset)

Declared at: clang/include/clang/Basic/SourceManagerInternals.h:52

Parameters

unsigned int Offs
unsigned int Line
int Filename
SrcMgr::CharacteristicKind FileKind
unsigned int IncludeOffset