diff options
| author | 2019-01-27 16:42:12 +0000 | |
|---|---|---|
| committer | 2019-01-27 16:42:12 +0000 | |
| commit | b773203fb58f3ef282fb69c832d8710cab5bc82d (patch) | |
| tree | e75913f147570fbd75169647b144df85b88a038c /gnu/llvm/tools/llvm-cov/TestingSupport.cpp | |
| parent | tweak errno in previous (diff) | |
| download | wireguard-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.cpp | 3 |
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; } |
