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/unittests/Support/ReplaceFileTest.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/unittests/Support/ReplaceFileTest.cpp')
| -rw-r--r-- | gnu/llvm/unittests/Support/ReplaceFileTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/unittests/Support/ReplaceFileTest.cpp b/gnu/llvm/unittests/Support/ReplaceFileTest.cpp index 794f36b1f65..15143be794f 100644 --- a/gnu/llvm/unittests/Support/ReplaceFileTest.cpp +++ b/gnu/llvm/unittests/Support/ReplaceFileTest.cpp @@ -31,7 +31,7 @@ namespace { std::error_code CreateFileWithContent(const SmallString<128> &FilePath, const StringRef &content) { int FD = 0; - if (std::error_code ec = fs::openFileForWrite(FilePath, FD, fs::F_None)) + if (std::error_code ec = fs::openFileForWrite(FilePath, FD)) return ec; const bool ShouldClose = true; |
