[llvm] Add raw_socket_stream (PR #73603)

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 03:12:31 PST 2023


================
@@ -23,11 +24,21 @@
 #include "llvm/Support/NativeFormatting.h"
 #include "llvm/Support/Process.h"
 #include "llvm/Support/Program.h"
+#include "llvm/Support/Threading.h"
 #include <algorithm>
 #include <cerrno>
 #include <cstdio>
 #include <sys/stat.h>
 
+#include <iostream>
----------------
Bigcheese wrote:

We don't include iostream in LLVM because it adds a global constructor to the library. We use `llvm::outs()` instead.

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


More information about the llvm-commits mailing list