From: Ted Kremenek Date: Thu, 20 Nov 2008 07:53:31 +0000 (+0000) Subject: Preprocessor::isCurrentLexer() now takes a PreprocessorLexer* argument to match again... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7062d9e9fc3ed89c4e4ea7055efea6585b7bac8d;p=clang Preprocessor::isCurrentLexer() now takes a PreprocessorLexer* argument to match against CurPPLexer instead of CurLexer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59721 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 177c84063c..a92df2ccc4 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -204,8 +204,8 @@ public: /// 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