From: Ted Kremenek Date: Thu, 20 Nov 2008 07:54:06 +0000 (+0000) Subject: Added virtual method 'IndirectLex' to PTHLexer. This will likely get removed in... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac2dda65d2d39c0a83d95bdf6237edbf4685bc58;p=clang Added virtual method 'IndirectLex' to PTHLexer. This will likely get removed in the future when we correctly handle #include processing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59722 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/PTHLexer.h b/include/clang/Lex/PTHLexer.h index 96049b74f2..8c88d6f52f 100644 --- a/include/clang/Lex/PTHLexer.h +++ b/include/clang/Lex/PTHLexer.h @@ -54,6 +54,10 @@ public: /// tok::l_paren token, 0 if it is something else and 2 if there are no more /// tokens controlled by this lexer. unsigned isNextPPTokenLParen(); + + /// IndirectLex - An indirect call to 'Lex' that can be invoked via + /// the PreprocessorLexer interface. + void IndirectLex(Token &Result) { Lex(Result); } }; } // end namespace clang