[PATCH] D158540: Improve error message for constexpr constructors of virtual base classes

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 12:24:59 PDT 2023


aaron.ballman added a comment.

In D158540#4651859 <https://reviews.llvm.org/D158540#4651859>, @NoumanAmir657 wrote:

> @aaron.Ballman 
> Do I need to make changes other than this? The virtual base diagnostic doesn't have a test case in files that would generate it. Should I add the above example as the test case?

You'll need to add a test case to demonstrate the changes, and the example you had above would work well for the tests. You should also add a release note to `clang/docs/ReleaseNotes.rst` so users know about the improvement. But I think that should basically be all that's left to do here.


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

https://reviews.llvm.org/D158540



More information about the cfe-commits mailing list