aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-03-09 20:37:28 +0000
committerbloodstalker <thabogre@gmail.com>2020-03-09 20:37:28 +0000
commitd6e93a28392b67b36fb6a33c522405fe17316c08 (patch)
tree0ef3b41aa574fb3b00d57800249afe8fec341f13
parentbuild fix (diff)
downloadmutator-d6e93a28392b67b36fb6a33c522405fe17316c08.tar.gz
mutator-d6e93a28392b67b36fb6a33c522405fe17316c08.zip
build fix
Diffstat (limited to '')
-rw-r--r--.travis.yml2
-rw-r--r--m0/mutator-lvl0.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 769ba74..6792a06 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -134,7 +134,7 @@ matrix:
- sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
- sudo add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
- sudo apt-get update
- - sudo apt-get install llvm-10-dev libclang-common-10-dev libclang-10-dev -y
+ - sudo apt-get install clang-10 llvm-10-dev libclang-common-10-dev libclang-10-dev -y
- sudo apt-get install libffi-dev -y
- sudo apt-get install bear -y
- sudo apt-get install luarocks -y
diff --git a/m0/mutator-lvl0.cpp b/m0/mutator-lvl0.cpp
index f415e77..417fcb5 100644
--- a/m0/mutator-lvl0.cpp
+++ b/m0/mutator-lvl0.cpp
@@ -4505,7 +4505,7 @@ public:
clang::Expr::EvalResult *UnoResult;
#elif __clang_major__ < 8
llvm::APSInt *UnoResult;
- UnoFinal = UnoResult.getExtValue();
+ UnoFinal = UnoResult->getExtValue();
#endif
if (UnoSubEXP->EvaluateAsInt(*UnoResult, *ASTC)) {