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

Abhinav Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 21:04:08 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
----------------
kr-2003 wrote:

yes, i don't think we need these now

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


More information about the llvm-commits mailing list