[clang] [clang][repl] fix `new` on Mac M1 (PR #69072)

Maksim Levental via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 14 18:32:12 PDT 2023


================
@@ -248,7 +248,7 @@ Interpreter::~Interpreter() {
 // can't find the precise resource directory in unittests so we have to hard
 // code them.
 const char *const Runtimes = R"(
-    void* operator new(__SIZE_TYPE__, void* __p) noexcept;
+    #include <new>
----------------
makslevental wrote:

Ya so you need something here.

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


More information about the cfe-commits mailing list