Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolution of this CWG breaks potential dependency loop between complete-class context of non-static data member initializer (NSDMI), and defaulted default constructor, which is `noexcept` depending on NSDMIs among other things. For whatever reason in C++11 mode we issue an additional note and a different line number for the primary error. But I find the message itself even worse than aforementioned issues. It describes what's going on, but doesn't say what's bad about it. I find the previous version of this message more clear: 8dbc6b2 . Created an issue for that: #62823 Reviewed By: #clang-language-wg, shafik Differential Revision: https://reviews.llvm.org/D151034
- Loading branch information