clang 20.0.0git
|
Describes the bounds (start, size) of the preamble and a flag required by PreprocessorOptions::PrecompiledPreambleBytes. More...
#include "clang/Lex/Lexer.h"
Public Member Functions | |
PreambleBounds (unsigned Size, bool PreambleEndsAtStartOfLine) | |
Public Attributes | |
unsigned | Size |
Size of the preamble in bytes. | |
bool | PreambleEndsAtStartOfLine |
Whether the preamble ends at the start of a new line. | |
Describes the bounds (start, size) of the preamble and a flag required by PreprocessorOptions::PrecompiledPreambleBytes.
The preamble includes the BOM, if any.
bool clang::PreambleBounds::PreambleEndsAtStartOfLine |
Whether the preamble ends at the start of a new line.
Used to inform the lexer as to whether it's starting at the beginning of a line after skipping the preamble.
Definition at line 68 of file Lexer.h.
Referenced by clang::PrecompiledPreamble::Build(), and clang::PrecompiledPreamble::CanReuse().
unsigned clang::PreambleBounds::Size |
Size of the preamble in bytes.
Definition at line 62 of file Lexer.h.
Referenced by clang::PrecompiledPreamble::Build(), clang::PrecompiledPreamble::CanReuse(), and clang::PrintPreambleAction::ExecuteAction().