From 49e4579a862211a04a331647669f8aa63aeec478 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 20 Nov 2008 07:53:31 +0000 Subject: [PATCH] Preprocessor::isCurrentLexer() now takes a PreprocessorLexer* argument to match against CurPPLexer instead of CurLexer. llvm-svn: 59721 --- clang/include/clang/Lex/Preprocessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index 177c84063c53..a92df2ccc417 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 -- GitLab