[clang] [clang] Change representation of CurLexerKind (PR #70381)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 31 23:48:12 PDT 2023


================
@@ -767,7 +762,7 @@ class Preprocessor {
   /// \#included, and macros currently being expanded from, not counting
   /// CurLexer/CurTokenLexer.
   struct IncludeStackInfo {
-    enum CurLexerKind           CurLexerKind;
+    LexerCallback CurLexerCallback;
----------------
serge-sans-paille wrote:

That would break clang-format :-) If we want to keep the original alignement, I need to add clang-format comments, should I do it that way?

https://github.com/llvm/llvm-project/pull/70381


More information about the cfe-commits mailing list