[clang-tools-extra] [libc++] Fix the behavior of throwing `operator new` under -fno-exceptions (PR #69498)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 10:52:31 PDT 2023


================
@@ -7,6 +7,8 @@
 //===----------------------------------------------------------------------===//
 
 #include <__memory/aligned_alloc.h>
+#include <__overridable_function>
----------------
ldionne wrote:

So this file needs to be shared between libc++abi and libc++, unfortunately, so it's a bit easier to throw in under `include`.

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


More information about the cfe-commits mailing list