diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-29 23:26:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-04-29 23:26:49 +0000 |
commit | 7259f14839ab7a61f2af6e897005585b1ea4a3d4 (patch) | |
tree | 32f41727a5e16bd3e594c5ba77b60a255bfe50f7 /include/llvm/Support/raw_ostream.h | |
parent | c1ff2d3621020082745e05da6d5a992584291279 (diff) | |
download | llvm-7259f14839ab7a61f2af6e897005585b1ea4a3d4.tar.gz llvm-7259f14839ab7a61f2af6e897005585b1ea4a3d4.tar.bz2 llvm-7259f14839ab7a61f2af6e897005585b1ea4a3d4.tar.xz |
raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/raw_ostream.h')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index a0f2c7798f..94e4b19b7a 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -17,13 +17,18 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/DataTypes.h" -#include "llvm/Support/FileSystem.h" namespace llvm { class format_object_base; template <typename T> class SmallVectorImpl; + namespace sys { + namespace fs { + enum OpenFlags : unsigned; + } + } + /// raw_ostream - This class implements an extremely fast bulk output stream /// that can *only* output to a stream. It does not support seeking, reopening, /// rewinding, line buffered disciplines etc. It is a simple buffer that outputs |