[PATCH] D158540: Improve error message for constexpr constructors of virtual base classes
Nouman Amir via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 30 10:33:14 PDT 2023
NoumanAmir657 added inline comments.
================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:9396
def err_incorrect_defaulted_constexpr : Error<
- "defaulted definition of %sub{select_special_member_kind}0 "
- "is not constexpr">;
+ "%sub{select_special_member_kind}0 cannot be 'constexpr' in a class with virtual base classes">;
+def note_incorrect_defaulted_constexpr : Note<
----------------
here is the error wording change
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158540/new/
https://reviews.llvm.org/D158540
More information about the cfe-commits
mailing list