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

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 19 11:04:28 PDT 2023


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

If this is only needed from files in src/, can the file be moved out of libcxx/include into libcxx/src? I see .h files in there, but I'm not sure what the proper conventions are these days.

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


More information about the cfe-commits mailing list