glandium added a comment.

Having looked around in the Firefox codebase for cases that now fail to build 
because of this, and looking at the clarification in DR2338, I wonder if enums 
in `extern "C"` sections should be treated as if they had an explicit type of 
`int` as if it were e.g. `enum Foo: int { ... }`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130058/new/

https://reviews.llvm.org/D130058

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to