[clang] [C++20] Deleting destructors can be noexcept (PR #118687)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 12:02:40 PST 2024


================
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -fcxx-exceptions -Wno-unevaluated-expression -std=c++20 %s
----------------
AaronBallman wrote:

That test file has a lot of dynamic exception specification code in it, so it's leaning heavily on `-std=c++11`.

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


More information about the cfe-commits mailing list