From d6e93a28392b67b36fb6a33c522405fe17316c08 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Tue, 10 Mar 2020 00:07:28 +0330 Subject: build fix --- .travis.yml | 2 +- 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)) { -- cgit v1.2.3