Home | History | Annotate | Download | only in Lex

Lines Matching refs:Preprocessor

1 //===--- PPLexerChange.cpp - Handle changing lexers in the preprocessor ---===//
10 // This file implements pieces of the Preprocessor interface that manage the
15 #include "clang/Lex/Preprocessor.h"
35 bool Preprocessor::isInPrimaryFile() const {
51 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const {
71 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir,
110 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer,
136 void Preprocessor::EnterSourceFileWithPTH(PTHLexer *PL,
161 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd,
190 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks,
236 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) {
255 const char *Preprocessor::getCurLexerEndPos() {
275 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) {
517 bool Preprocessor::HandleEndOfTokenLexer(Token &Result) {
538 void Preprocessor::RemoveTopOfLexerStack() {
555 void Preprocessor::HandleMicrosoftCommentPaste(Token &Tok) {
560 // raw mode and preprocessor mode. This will cause it to return \n as an
569 // expansions) and preprocessor mode (return EOD). We know that the lexer
571 // from was expanded. However, it could have already been in preprocessor
601 // If the lexer was already in preprocessor mode, just return the EOD token
602 // to finish the preprocessor line.
613 // preprocessor directive mode), so just return EOF as our token.