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

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 11:45:01 PST 2024


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

We already have 

https://github.com/llvm/llvm-project/blob/main/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp

maybe the test is better there and wrapped in a `GH118660` namespace?

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


More information about the cfe-commits mailing list