aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/clang/lib/Lex/PPCaching.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/clang/lib/Lex/PPCaching.cpp')
-rw-r--r--contrib/llvm-project/clang/lib/Lex/PPCaching.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm-project/clang/lib/Lex/PPCaching.cpp b/contrib/llvm-project/clang/lib/Lex/PPCaching.cpp
index e05e52ba9bb5..f38ff62ebf43 100644
--- a/contrib/llvm-project/clang/lib/Lex/PPCaching.cpp
+++ b/contrib/llvm-project/clang/lib/Lex/PPCaching.cpp
@@ -88,7 +88,7 @@ void Preprocessor::EnterCachingLexMode() {
"entered caching lex mode while lexing something else");
if (InCachingLexMode()) {
- assert(CurLexerKind == CLK_CachingLexer && "Unexpected lexer kind");
+ assert(CurLexerCallback == CLK_CachingLexer && "Unexpected lexer kind");
return;
}
@@ -96,9 +96,9 @@ void Preprocessor::EnterCachingLexMode() {
}
void Preprocessor::EnterCachingLexModeUnchecked() {
- assert(CurLexerKind != CLK_CachingLexer && "already in caching lex mode");
+ assert(CurLexerCallback != CLK_CachingLexer && "already in caching lex mode");
PushIncludeMacroStack();
- CurLexerKind = CLK_CachingLexer;
+ CurLexerCallback = CLK_CachingLexer;
}