[llvm] Lift raw_socket_stream implementation out into own files (PR #75653)

Michael Spencer via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 16:22:48 PST 2023


================
@@ -0,0 +1,182 @@
+//===-- llvm/Support/raw_socket_stream.cpp - Socket streams --*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file contains raw_ostream implementations for streams to communicate
+// via UNIX sockets
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Support/raw_socket_stream.h"
+#include "llvm/Config/config.h"
+#include "llvm/Support/Error.h"
+#include "llvm/Support/Threading.h"
----------------
Bigcheese wrote:

Shouldn't need this include as it's in the header.

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


More information about the llvm-commits mailing list