about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2018-10-08 22:15:43 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2018-10-23 18:53:46 +0300
commit2b0209af3f85d5467486a430b36b41d17863f78e (patch)
tree7949059dc374749125a7125dd8e37771046ca837 /lib
parentd56184fc383a2e09ed36dd7d053e001b4c6059ca (diff)
downloadklee-2b0209af3f85d5467486a430b36b41d17863f78e.tar.gz
Fixed compilation of array optimization patch with LLVM >= 4.0
Diffstat (limited to 'lib')
-rw-r--r--lib/Expr/ArrayExprOptimizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Expr/ArrayExprOptimizer.cpp b/lib/Expr/ArrayExprOptimizer.cpp
index b3e8bca0..3a071665 100644
--- a/lib/Expr/ArrayExprOptimizer.cpp
+++ b/lib/Expr/ArrayExprOptimizer.cpp
@@ -23,8 +23,8 @@ llvm::cl::opt<ArrayOptimizationType> OptimizeArray(
         clEnumValN(ALL, "all", "Combining index and value transformations"),
         clEnumValN(INDEX, "index", "Index-based transformation"),
         clEnumValN(VALUE, "value", "Value-based transformation at branch (both "
-                                   "concrete and concrete/symbolic)"),
-        clEnumValEnd),
+                                   "concrete and concrete/symbolic)")
+        KLEE_LLVM_CL_VAL_END),
     llvm::cl::init(NONE),
     llvm::cl::desc("Optimize accesses to either concrete or concrete/symbolic "
                    "arrays. (default=off)"));