================
@@ -1190,6 +1190,9 @@ class Preprocessor {
   /// Lex() should be invoked.
   CachedTokensTy::size_type CachedLexPos = 0;
 
+  /// True when the caching lexer is installed as the active lexer layer.
+  bool IsCachingLexMode = false;
+
----------------
yronglin wrote:

Yeah, `CurLexerCallback == CLK_CachingLexer` works. I removed the 
`IsCachingLexMode ` flag.

https://github.com/llvm/llvm-project/pull/203716
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to