clang: clang::PreprocessorLexer Class Reference (original) (raw)
#include "[clang/Lex/PreprocessorLexer.h](PreprocessorLexer%5F8h%5Fsource.html)"
Definition at line 30 of file PreprocessorLexer.h.
◆ conditional_iterator
Iterator that traverses the current stack of preprocessor conditional directives (#if/#ifdef/#ifndef).
Definition at line 164 of file PreprocessorLexer.h.
clang::PreprocessorLexer::PreprocessorLexer ( ) |
inlineprotected |
◆ PreprocessorLexer() [2/3]
◆ ~PreprocessorLexer()
virtual clang::PreprocessorLexer::~PreprocessorLexer ( ) |
protectedvirtualdefault |
◆ PreprocessorLexer() [3/3]
◆ conditional_begin()
◆ conditional_end()
◆ getConditionalStackDepth()
unsigned clang::PreprocessorLexer::getConditionalStackDepth ( ) const |
inlineprotected |
◆ getFileEntry()
◆ getFileID()
FileID clang::PreprocessorLexer::getFileID ( ) const |
inline |
◆ getInitialNumSLocEntries()
unsigned clang::PreprocessorLexer::getInitialNumSLocEntries ( ) const |
inline |
◆ getPP()
Preprocessor * clang::PreprocessorLexer::getPP ( ) const |
inline |
◆ getSourceLocation()
virtual SourceLocation clang::PreprocessorLexer::getSourceLocation ( ) |
protectedpure virtual |
◆ IndirectLex()
virtual void clang::PreprocessorLexer::IndirectLex ( Token & Result) |
protectedpure virtual |
◆ isLexingRawMode()
bool clang::PreprocessorLexer::isLexingRawMode ( ) const |
inline |
◆ LexIncludeFilename()
void PreprocessorLexer::LexIncludeFilename |
( |
Token & |
FilenameTok |
) |
◆ operator=()
◆ peekConditionalLevel()
PPConditionalInfo & clang::PreprocessorLexer::peekConditionalLevel ( ) |
inlineprotected |
◆ popConditionalLevel()
popConditionalLevel - Remove an entry off the top of the conditional stack, returning information about it.
If the conditional stack is empty, this returns true and does not fill in the arguments.
Definition at line 109 of file PreprocessorLexer.h.
References ConditionalStack.
◆ pushConditionalLevel() [1/2]
void clang::PreprocessorLexer::pushConditionalLevel ( const PPConditionalInfo & CI) |
inlineprotected |
◆ pushConditionalLevel() [2/2]
void clang::PreprocessorLexer::pushConditionalLevel ( SourceLocation DirectiveStart, bool WasSkipping, bool FoundNonSkip, bool FoundElse ) |
inlineprotected |
◆ setConditionalLevels()
◆ setParsingPreprocessorDirective()
void clang::PreprocessorLexer::setParsingPreprocessorDirective ( bool f) |
inline |
◆ Preprocessor
◆ ConditionalStack
◆ FID
const FileID clang::PreprocessorLexer::FID |
protected |
◆ InitialNumSLocEntries
unsigned clang::PreprocessorLexer::InitialNumSLocEntries = 0 |
protected |
◆ LexingRawMode
bool clang::PreprocessorLexer::LexingRawMode = false |
protected |
◆ MIOpt
◆ ParsingFilename
bool clang::PreprocessorLexer::ParsingFilename = false |
protected |
◆ ParsingPreprocessorDirective
bool clang::PreprocessorLexer::ParsingPreprocessorDirective = false |
protected |
◆ PP
The documentation for this class was generated from the following files: