[clang] No longer add enumeration constants to the wrong scope (PR #134998)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 9 14:36:05 PDT 2025


Endilll wrote:

It's not clear to me why the example in the PR description should be rejected, given https://eel.is/c++draft/dcl.enum#12.sentence-1. I also don't see a clear consensus on CWG reflector to determine whether this change moves us in the right direction. Do we have to change status quo before CWG revisits [CWG1485](https://cplusplus.github.io/CWG/issues/1485.html)?

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


More information about the cfe-commits mailing list