[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
Thu Aug 31 13:42:25 PDT 2023


NoumanAmir657 added a comment.

@aaron.ballman 
This error gets generated on test cases even when a struct/class as no virtual base class.
see this example on here: example <https://godbolt.org/z/47sYGjWxP>

Is this right behaviour? The note for this should not be generated since this does not have a virtual base class.

The example above is from a test case file in clang

Can you clarify this


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

https://reviews.llvm.org/D158540



More information about the cfe-commits mailing list