summaryrefslogtreecommitdiff
path: root/include/llvm/Support/FileSystem.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-04-29 23:26:49 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-04-29 23:26:49 +0000
commit7259f14839ab7a61f2af6e897005585b1ea4a3d4 (patch)
tree32f41727a5e16bd3e594c5ba77b60a255bfe50f7 /include/llvm/Support/FileSystem.h
parentc1ff2d3621020082745e05da6d5a992584291279 (diff)
downloadllvm-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/FileSystem.h')
-rw-r--r--include/llvm/Support/FileSystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/FileSystem.h b/include/llvm/Support/FileSystem.h
index a92645c986..806a3e376c 100644
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -577,7 +577,7 @@ error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix,
error_code createUniqueDirectory(const Twine &Prefix,
SmallVectorImpl<char> &ResultPath);
-enum OpenFlags {
+enum OpenFlags : unsigned {
F_None = 0,
/// F_Excl - When opening a file, this flag makes raw_fd_ostream