================ @@ -275,7 +274,14 @@ Interpreter::create(std::unique_ptr<CompilerInstance> CI) { if (Err) return std::move(Err); - auto PTU = Interp->Parse(Runtimes); + std::string runtimes = ""; + if (llvm::Triple(llvm::sys::getProcessTriple()).isOSDarwin()) + runtimes += "#include <new>\n"; ---------------- vgvassilev wrote:
Why do we need to do this - perhaps, for now, we can delegate this to the user. https://github.com/llvm/llvm-project/pull/69072 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits