diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index 177c84063c539b6219878aa588d11edcd502cb50..a92df2ccc417a2bc9e8ff97a69a1d27bbfe9283e 100644 --- a/clang/include/clang/Lex/Preprocessor.h +++ b/clang/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