[cfe-commits] r59722 - /cfe/trunk/include/clang/Lex/PTHLexer.h
Ted Kremenek
kremenek at apple.com
Wed Nov 19 23:54:07 PST 2008
Author: kremenek
Date: Thu Nov 20 01:54:06 2008
New Revision: 59722
URL: http://llvm.org/viewvc/llvm-project?rev=59722&view=rev
Log:
Added virtual method 'IndirectLex' to PTHLexer. This will likely get removed in the future when we correctly handle #include processing.
Modified:
cfe/trunk/include/clang/Lex/PTHLexer.h
Modified: cfe/trunk/include/clang/Lex/PTHLexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/PTHLexer.h?rev=59722&r1=59721&r2=59722&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/PTHLexer.h (original)
+++ cfe/trunk/include/clang/Lex/PTHLexer.h Thu Nov 20 01:54:06 2008
@@ -54,6 +54,10 @@
/// 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
More information about the cfe-commits
mailing list