diff options
Diffstat (limited to 'contrib/llvm/tools/llvm-cov/TestingSupport.cpp')
-rw-r--r-- | contrib/llvm/tools/llvm-cov/TestingSupport.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/llvm/tools/llvm-cov/TestingSupport.cpp b/contrib/llvm/tools/llvm-cov/TestingSupport.cpp index 4713d75f17dd..e07abdbd17f1 100644 --- a/contrib/llvm/tools/llvm-cov/TestingSupport.cpp +++ b/contrib/llvm/tools/llvm-cov/TestingSupport.cpp @@ -75,8 +75,7 @@ int convertForTestingMain(int argc, const char *argv[]) { return 1; int FD; - if (auto Err = - sys::fs::openFileForWrite(OutputFilename, FD, sys::fs::F_None)) { + if (auto Err = sys::fs::openFileForWrite(OutputFilename, FD)) { errs() << "error: " << Err.message() << "\n"; return 1; } |