mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
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
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
|
||||
errs() << "Writing '" << Filename << "'...";
|
||||
|
||||
raw_fd_ostream File(Filename.c_str(), ErrorInfo);
|
||||
raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_None);
|
||||
std::string GraphName = DOTGraphTraits<GraphT>::getGraphName(Graph);
|
||||
std::string Title = GraphName + " for '" + F.getName().str() + "' function";
|
||||
|
||||
@@ -132,7 +132,7 @@ public:
|
||||
|
||||
errs() << "Writing '" << Filename << "'...";
|
||||
|
||||
raw_fd_ostream File(Filename.c_str(), ErrorInfo);
|
||||
raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_None);
|
||||
std::string Title = DOTGraphTraits<GraphT>::getGraphName(Graph);
|
||||
|
||||
if (ErrorInfo.empty())
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user