[PATCH] D129222: [pseudo] Implement a guard to determine function declarator.

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 20 14:40:32 PDT 2022


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



More information about the cfe-commits mailing list