Author: kremenek
Date: Thu Nov 20 01:53:31 2008
New Revision: 59721

URL: http://llvm.org/viewvc/llvm-project?rev=59721&view=rev
Log:
Preprocessor::isCurrentLexer() now takes a PreprocessorLexer* argument to match 
against CurPPLexer instead of CurLexer.

Modified:
    cfe/trunk/include/clang/Lex/Preprocessor.h

Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=59721&r1=59720&r2=59721&view=diff

==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Thu Nov 20 01:53:31 2008
@@ -204,8 +204,8 @@
   
   /// isCurrentLexer - Return true if we are lexing directly from the specified
   /// lexer.
-  bool isCurrentLexer(const Lexer *L) const {
-    return CurLexer.get() == L;
+  bool isCurrentLexer(const PreprocessorLexer *L) const {
+    return CurPPLexer == L;
   }
   
   /// getCurrentLexer - Return the current file lexer being lexed from.  Note


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to