aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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)) {