[clang] [Clang] Fix constexpr-ness on implicitly deleted destructors (PR #116359)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 05:37:32 PST 2024


================
@@ -81,6 +81,9 @@ FIELD(IsStandardLayout, 1, NO_MERGE)
 ///   member.
 FIELD(IsCXX11StandardLayout, 1, NO_MERGE)
 
+/// True when the class has a virtual base class.
+FIELD(HasVBases, 1, NO_MERGE)
----------------
AaronBallman wrote:

Do we need to add this here? Doesn't `DefinitionData::NumVBases` suffice?

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


More information about the cfe-commits mailing list