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

Maksim Levental via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 14 17:22:44 PDT 2023


================
@@ -20,4 +20,6 @@ auto r2 = printf("S[f=%f, m=0x%llx]\n", s.f, reinterpret_cast<unsigned long long
 inline int foo() { return 42; }
 int r3 = foo();
 
+#include <memory>
----------------
makslevental wrote:

This was to test (since `<memory>` transitively includes `<new>`).

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


More information about the cfe-commits mailing list