[clang] Moves destructor type-trait deduction to a public function (PR #238456)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 3 11:52:30 PST 2026


================
@@ -16057,6 +16057,38 @@ class Sema final : public SemaBase {
   ///@}
 };
 
+enum class DestructorFormat {
+  // SMF is deleted, private, protected, or otherwise inaccessible.
+  NotAvailable,
+
+  // SMF is trivial.
+  Trivial,
+
+  // SMF is non-trivial and nothrow.
+  NonTrivial,
+};
----------------
cor3ntin wrote:

DestructorKind, if anything

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


More information about the cfe-commits mailing list