summaryrefslogtreecommitdiff
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index b88dd3f9a6..d5f2e741da 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -274,7 +274,7 @@ sys::Path WriteGraph(const GraphType &G, const std::string &Name,
errs() << "Writing '" << Filename.str() << "'... ";
std::string ErrorInfo;
- raw_fd_ostream O(Filename.c_str(), ErrorInfo, raw_fd_ostream::F_Force);
+ raw_fd_ostream O(Filename.c_str(), ErrorInfo);
if (ErrorInfo.empty()) {
WriteGraph(O, G, ShortNames, Name, Title);