Lines Matching full:preprocessor

1 //===--- PPLexerChange.cpp - Handle changing lexers in the preprocessor ---===//
9 // This file implements pieces of the Preprocessor interface that manage the
19 #include "clang/Lex/Preprocessor.h"
35 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile()
50 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer()
69 bool Preprocessor::EnterSourceFile(FileID FID, ConstSearchDirIterator CurDir, in EnterSourceFile()
113 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer()
151 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro()
180 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream()
247 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo()
266 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos()
290 void Preprocessor::diagnoseMissingHeaderInUmbrellaDir(const Module &Mod) { in diagnoseMissingHeaderInUmbrellaDir()
332 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { in HandleEndOfFile()
601 bool Preprocessor::HandleEndOfTokenLexer(Token &Result) { in HandleEndOfTokenLexer()
622 void Preprocessor::RemoveTopOfLexerStack() { in RemoveTopOfLexerStack()
639 void Preprocessor::HandleMicrosoftCommentPaste(Token &Tok) { in HandleMicrosoftCommentPaste()
643 // raw mode and preprocessor mode. This will cause it to return \n as an in HandleMicrosoftCommentPaste()
651 // expansions) and preprocessor mode (return EOD). We know that the lexer in HandleMicrosoftCommentPaste()
653 // from was expanded. However, it could have already been in preprocessor in HandleMicrosoftCommentPaste()
683 // If the lexer was already in preprocessor mode, just return the EOD token in HandleMicrosoftCommentPaste()
684 // to finish the preprocessor line. in HandleMicrosoftCommentPaste()
695 // preprocessor directive mode), so just return EOF as our token. in HandleMicrosoftCommentPaste()
699 void Preprocessor::EnterSubmodule(Module *M, SourceLocation ImportLoc, in EnterSubmodule()
763 bool Preprocessor::needModuleMacros() const { in needModuleMacros()
776 Module *Preprocessor::LeaveSubmodule(bool ForPragma) { in LeaveSubmodule()