diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2017-06-07 13:32:53 +0200 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-06-12 17:07:05 +0100 |
commit | 6204a1faed8f6ed15318be8da3e8e4b5e2f2a4ac (patch) | |
tree | fa1d9d9a149cbfa496f26f133e3b44535e729ace /lib/Expr | |
parent | 5289c6135b7baef600257c614ef52f9af10a22e4 (diff) | |
download | klee-6204a1faed8f6ed15318be8da3e8e4b5e2f2a4ac.tar.gz |
llvm: don't use clEnumValEnd for LLVM 4.0
It became unnecessary when defining options and mainly undefined. So introduce KLEE_LLVM_CL_VAL_END as suggested by @delcypher. Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'lib/Expr')
-rw-r--r-- | lib/Expr/ExprSMTLIBPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Expr/ExprSMTLIBPrinter.cpp b/lib/Expr/ExprSMTLIBPrinter.cpp index e8e9a253..192e3461 100644 --- a/lib/Expr/ExprSMTLIBPrinter.cpp +++ b/lib/Expr/ExprSMTLIBPrinter.cpp @@ -25,8 +25,8 @@ argConstantDisplayMode( clEnumValN(klee::ExprSMTLIBPrinter::HEX, "hex", "Use Hexadecimal form (e.g. #x2D)"), clEnumValN(klee::ExprSMTLIBPrinter::DECIMAL, "dec", - "Use decimal form (e.g. (_ bv45 8) )"), - clEnumValEnd), + "Use decimal form (e.g. (_ bv45 8) )") + KLEE_LLVM_CL_VAL_END), llvm::cl::init(klee::ExprSMTLIBPrinter::DECIMAL)); llvm::cl::opt<bool> humanReadableSMTLIB( @@ -44,8 +44,8 @@ llvm::cl::opt<klee::ExprSMTLIBPrinter::AbbreviationMode> abbreviationMode( clEnumValN(klee::ExprSMTLIBPrinter::ABBR_LET, "let", "Abbreviate with let"), clEnumValN(klee::ExprSMTLIBPrinter::ABBR_NAMED, "named", - "Abbreviate with :named annotations"), - clEnumValEnd), + "Abbreviate with :named annotations") + KLEE_LLVM_CL_VAL_END), llvm::cl::init(klee::ExprSMTLIBPrinter::ABBR_LET)); } |