[libcxx-commits] [libcxxabi] [libc++abi] Use `= default; ` for `OutputBuffer`'s destructor (PR #166117)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 2 19:48:15 PST 2025
https://github.com/frederick-vs-ja created https://github.com/llvm/llvm-project/pull/166117
This mirrors the change in 4eed68357e4361b3a3aeb349dec2612cfb74c8cc to libcxxabi, which is necessary for fixing CI failure.
>From 97233a8abb30f9e434a64222af7ac6236d373f22 Mon Sep 17 00:00:00 2001
From: "A. Jiang" <de34 at live.cn>
Date: Mon, 3 Nov 2025 11:47:16 +0800
Subject: [PATCH] [libc++abi] Use `= default;` for `OutputBuffer`'s destructor
This mirrors the change in 4eed68357e4361b3a3aeb349dec2612cfb74c8cc to
libcxxabi, which is necessary for fixing CI failure.
---
libcxxabi/src/demangle/Utility.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libcxxabi/src/demangle/Utility.h b/libcxxabi/src/demangle/Utility.h
index 8829f3fa13a93..76243f5d3280c 100644
--- a/libcxxabi/src/demangle/Utility.h
+++ b/libcxxabi/src/demangle/Utility.h
@@ -81,7 +81,7 @@ class OutputBuffer {
OutputBuffer(const OutputBuffer &) = delete;
OutputBuffer &operator=(const OutputBuffer &) = delete;
- virtual ~OutputBuffer() {}
+ virtual ~OutputBuffer() = default;
operator std::string_view() const {
return std::string_view(Buffer, CurrentPosition);
More information about the libcxx-commits
mailing list