From 6c68f4ba60b860e83b8ee08b97f18f6a6cc29156 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 15 Jan 2013 12:00:08 +0100 Subject: Silence warning of deprecated PathV1 usage --- tools/klee/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 79f29d2d..e4de4769 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -303,7 +303,11 @@ KleeHandler::KleeHandler(int argc, char **argv) } sys::Path p(theDir); +#if LLVM_VERSION_CODE < LLVM_VERSION(3, 1) if (!p.isAbsolute()) { +#else + if (!sys::path::is_absolute(p.c_str())) { +#endif sys::Path cwd = sys::Path::GetCurrentDirectory(); cwd.appendComponent(theDir); p = cwd; -- cgit 1.4.1