================ @@ -546,9 +546,9 @@ void CXXRecordDecl::addedClassSubobject(CXXRecordDecl *Subobj) { data().NeedOverloadResolutionForDestructor = true; } - // C++2a [dcl.constexpr]p4: - // The definition of a constexpr destructor [shall] satisfy the - // following requirement: + // C++20 [dcl.constexpr]p5: + // The definition of a constexpr destructor whose function-body is not + // = delete [shall] additionally satisfy the following requirement: ---------------- cor3ntin wrote:
```suggestion // = delete shall additionally satisfy the following requirement: ``` https://github.com/llvm/llvm-project/pull/116359 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits