blob: 2f246a08e67f7a3974e0cebee61ea6abec83f76a [file] [log] [blame]
James Kuszmaulcf324122023-01-14 14:07:17 -08001From 7943842aea1a05a1dd2c2c753378af569c24293b Mon Sep 17 00:00:00 2001
2From: PJ Reiniger <pj.reiniger@gmail.com>
3Date: Sun, 8 May 2022 16:49:36 -0400
4Subject: [PATCH 21/28] Prefer wpi's fs.h
5
6---
7 llvm/include/llvm/Support/raw_ostream.h | 7 ++-----
8 1 file changed, 2 insertions(+), 5 deletions(-)
9
10diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h
11index bf5630ab5..256bcec25 100644
12--- a/llvm/include/llvm/Support/raw_ostream.h
13+++ b/llvm/include/llvm/Support/raw_ostream.h
14@@ -27,18 +27,15 @@
15 #include <type_traits>
16 #include <vector>
17
18-namespace llvm {
19-
20-template <class T> class LLVM_NODISCARD Expected;
21
22-namespace sys {
23 namespace fs {
24 enum FileAccess : unsigned;
25 enum OpenFlags : unsigned;
26 enum CreationDisposition : unsigned;
27 class FileLocker;
28 } // end namespace fs
29-} // end namespace sys
30+
31+namespace llvm {
32
33 /// This class implements an extremely fast bulk output stream that can *only*
34 /// output to a stream. It does not support seeking, reopening, rewinding, line