================
@@ -1835,6 +1844,10 @@ class AnnotatingParser {
// In TableGen, there must be a value after "=";
if (Style.isTableGen() && !parseTableGenValue())
return false;
+ if ((CurrentToken && CurrentToken->is(tok::numeric_constant)) &&
+ (!Scopes.empty() && Scopes.back() == ST_Enum)) {
----------------
HazardyKnusperkeks wrote:
Why the `numeric_constant`?
https://github.com/llvm/llvm-project/pull/194154
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits