Don't make F_None the default.
[oota-llvm.git] / lib / Analysis / CFGPrinter.cpp
index 9b6879a42ed40b20c9eed997faa412e4302197dc..3c67618450ce7cd810349731ab84ae8318beb6f3 100644 (file)
@@ -80,7 +80,7 @@ namespace {
       errs() << "Writing '" << Filename << "'...";
       
       std::string ErrorInfo;
-      raw_fd_ostream File(Filename.c_str(), ErrorInfo);
+      raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_None);
 
       if (ErrorInfo.empty())
         WriteGraph(File, (const Function*)&F);
@@ -114,7 +114,7 @@ namespace {
       errs() << "Writing '" << Filename << "'...";
 
       std::string ErrorInfo;
-      raw_fd_ostream File(Filename.c_str(), ErrorInfo);
+      raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_None);
       
       if (ErrorInfo.empty())
         WriteGraph(File, (const Function*)&F, true);