summaryrefslogtreecommitdiff
path: root/include/llvm/Support/ToolOutputFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/ToolOutputFile.h')
-rw-r--r--include/llvm/Support/ToolOutputFile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/ToolOutputFile.h b/include/llvm/Support/ToolOutputFile.h
index b3b7c577b7224..a2191ade80cf8 100644
--- a/include/llvm/Support/ToolOutputFile.h
+++ b/include/llvm/Support/ToolOutputFile.h
@@ -47,7 +47,9 @@ 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,
- unsigned Flags = 0);
+ sys::fs::OpenFlags Flags = sys::fs::F_None);
+
+ tool_output_file(const char *Filename, int FD);
/// os - Return the contained raw_fd_ostream.
raw_fd_ostream &os() { return OS; }