mizvekov added a comment. I un-reverted this locally to take a better look.
It does not seem to me to be a compiler bug, because both cl.exe and intellisense are picking this error up, and I believe the MSVC intellisense is based on a completely different frontend (EDG). What I see is that `enum class Rule` is empty. We try to populate it with enum class Rule : RuleID { #define RULE(X, Y) X = Y, #include "CXXSymbols.inc" #undef RULE }; But I open `CXXSymbols.inc` and I see nothing that would expand that RULE macro, the contents of the file don't mention it at all, just `NONTERMINAL` and `EXTENSION`. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129222/new/ https://reviews.llvm.org/D129222 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits