diff options
author | bloodstalker <thabogre@gmail.com> | 2020-03-09 20:37:28 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-03-09 20:37:28 +0000 |
commit | d6e93a28392b67b36fb6a33c522405fe17316c08 (patch) | |
tree | 0ef3b41aa574fb3b00d57800249afe8fec341f13 | |
parent | build fix (diff) | |
download | mutator-d6e93a28392b67b36fb6a33c522405fe17316c08.tar.gz mutator-d6e93a28392b67b36fb6a33c522405fe17316c08.zip |
build fix
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | m0/mutator-lvl0.cpp | 2 |
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)) { |