diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Lex/Preprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index 1a60d98862a..fb2cb1d33b2 100644 --- a/clang/include/clang/Lex/Preprocessor.h +++ b/clang/include/clang/Lex/Preprocessor.h @@ -628,7 +628,7 @@ private: //===--------------------------------------------------------------------===// // Caching stuff. void CachingLex(Token &Result); - bool InCachingLexMode() const { return CurLexer == 0 && CurTokenLexer == 0; } + bool InCachingLexMode() const { return CurPPLexer == 0 && CurTokenLexer == 0;} void EnterCachingLexMode(); void ExitCachingLexMode() { if (InCachingLexMode()) |