summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/tools/llvm-cov/TestingSupport.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-01-27 16:42:12 +0000
committerpatrick <patrick@openbsd.org>2019-01-27 16:42:12 +0000
commitb773203fb58f3ef282fb69c832d8710cab5bc82d (patch)
treee75913f147570fbd75169647b144df85b88a038c /gnu/llvm/tools/llvm-cov/TestingSupport.cpp
parenttweak errno in previous (diff)
downloadwireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.tar.xz
wireguard-openbsd-b773203fb58f3ef282fb69c832d8710cab5bc82d.zip
Import LLVM 7.0.1 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/tools/llvm-cov/TestingSupport.cpp')
-rw-r--r--gnu/llvm/tools/llvm-cov/TestingSupport.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/llvm/tools/llvm-cov/TestingSupport.cpp b/gnu/llvm/tools/llvm-cov/TestingSupport.cpp
index 4713d75f17d..e07abdbd17f 100644
--- a/gnu/llvm/tools/llvm-cov/TestingSupport.cpp
+++ b/gnu/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;
}