[libcxx-commits] [libcxxabi] [libcxx] [libc++] Fix noexcept behaviour of operator new helper functions (PR #74337)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 16 06:23:41 PST 2024


================
@@ -0,0 +1,42 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: no-exceptions
+#include <new>
----------------
ldionne wrote:

Nitpick, please add a newline between the `UNSUPPORTED` and the `#include <new>`. Here and in the other tests too.

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


More information about the libcxx-commits mailing list