compilerplugins/clang/compat.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit b9c9c70157e7bc5b868437ab6bda2b21ba34c627 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Nov 29 09:54:32 2018 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Nov 29 09:56:10 2018 +0100 Revert "comment out the EvaluateAsInt compat code for now" This reverts commit da9fb5d6d9ebf9363981c370ce937d8848989fcb, obsoleted by <http://llvm.org/viewvc/llvm-project?view=revision&revision=347756> "Re-commit r347417 'Re-Reinstate 347294 with a fix for the failures.'" diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx index 7a518770a3b6..97410fcbdc7a 100644 --- a/compilerplugins/clang/compat.hxx +++ b/compilerplugins/clang/compat.hxx @@ -157,8 +157,7 @@ inline bool CPlusPlus17(clang::LangOptions const & opts) { } inline bool EvaluateAsInt(clang::Expr const * expr, llvm::APSInt& intRes, const clang::ASTContext& ctx) { -// this keeps getting landed and then reverted in clang -#if 0 && CLANG_VERSION >= 80000 +#if CLANG_VERSION >= 80000 clang::Expr::EvalResult res; bool b = expr->EvaluateAsInt(res, ctx); if (b && res.Val.isInt()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits