[clang] [llvm] [Clang-Repl] Add custom function as lambda in launchExecutor and fetch PID of launched executor (PR #147478)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 9 11:21:29 PDT 2025


================
@@ -23,10 +23,19 @@
 #include <cstdint>
 #include <memory>
 #include <string>
+#ifdef LLVM_ON_UNIX
+#include <unistd.h>
+#else
+// Windows/MSVC fallback
+#define STDIN_FILENO 0
+#define STDOUT_FILENO 1
+#define STDERR_FILENO 2
+#endif
----------------
vgvassilev wrote:

Do we need all of these now?

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


More information about the cfe-commits mailing list