aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Support/FileHandling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/FileHandling.cpp')
-rw-r--r--lib/Support/FileHandling.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Support/FileHandling.cpp b/lib/Support/FileHandling.cpp
index 092a1af0..e5ead9f7 100644
--- a/lib/Support/FileHandling.cpp
+++ b/lib/Support/FileHandling.cpp
@@ -27,11 +27,8 @@ llvm::raw_fd_ostream *klee_open_output_file(std::string &path,
error = ec.message();
#elif LLVM_VERSION_CODE >= LLVM_VERSION(3, 5)
f = new llvm::raw_fd_ostream(path.c_str(), error, llvm::sys::fs::F_None);
-#elif LLVM_VERSION_CODE >= LLVM_VERSION(3, 4)
- f = new llvm::raw_fd_ostream(path.c_str(), error, llvm::sys::fs::F_Binary);
#else
- f = new llvm::raw_fd_ostream(path.c_str(), error,
- llvm::raw_fd_ostream::F_Binary);
+ f = new llvm::raw_fd_ostream(path.c_str(), error, llvm::sys::fs::F_Binary);
#endif
if (!error.empty()) {
if (f)