From 6cc8ee707c1b4337120aa2972e2ad13a4861bbc3 Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Mon, 13 Jun 2022 10:42:51 +0100 Subject: remove LLVM < 9 --- lib/Support/FileHandling.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/Support/FileHandling.cpp') diff --git a/lib/Support/FileHandling.cpp b/lib/Support/FileHandling.cpp index 46205521..8658f462 100644 --- a/lib/Support/FileHandling.cpp +++ b/lib/Support/FileHandling.cpp @@ -25,14 +25,8 @@ klee_open_output_file(const std::string &path, std::string &error) { error.clear(); std::error_code ec; -#if LLVM_VERSION_CODE >= LLVM_VERSION(7, 0) auto f = std::make_unique(path.c_str(), ec, llvm::sys::fs::OF_None); -#else - auto f = std::make_unique(path.c_str(), ec, - llvm::sys::fs::F_None); -#endif - if (ec) error = ec.message(); if (!error.empty()) { -- cgit 1.4.1