diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-24 15:07:20 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-24 15:07:20 +0000 |
commit | 843efd49b700018b515f66e585012e770feafd55 (patch) | |
tree | 63fbb3820fdbe73e57a82245d1a233fc784e39f6 /include/llvm/Support | |
parent | 281d7fc2d92545b8428a5aa0e59238d445fb8199 (diff) | |
download | llvm-843efd49b700018b515f66e585012e770feafd55.tar.gz llvm-843efd49b700018b515f66e585012e770feafd55.tar.bz2 llvm-843efd49b700018b515f66e585012e770feafd55.tar.xz |
Don't make F_None the default.
This will make it easier to switch the default to being binary files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/ToolOutputFile.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/ToolOutputFile.h b/include/llvm/Support/ToolOutputFile.h index a2191ade80..88f8ccc292 100644 --- a/include/llvm/Support/ToolOutputFile.h +++ b/include/llvm/Support/ToolOutputFile.h @@ -47,7 +47,7 @@ public: /// tool_output_file - This constructor's arguments are passed to /// to raw_fd_ostream's constructor. tool_output_file(const char *filename, std::string &ErrorInfo, - sys::fs::OpenFlags Flags = sys::fs::F_None); + sys::fs::OpenFlags Flags); tool_output_file(const char *Filename, int FD); diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index ec7e06b535..e0048f5140 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -347,7 +347,7 @@ public: /// file descriptor when it is done (this is necessary to detect /// output errors). raw_fd_ostream(const char *Filename, std::string &ErrorInfo, - sys::fs::OpenFlags Flags = sys::fs::F_None); + sys::fs::OpenFlags Flags); /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If /// ShouldClose is true, this closes the file when the stream is destroyed. |