]> granicus.if.org Git - clang/commit
Fix compatibility with z3-4.8.1
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 12 Nov 2018 06:48:02 +0000 (06:48 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 12 Nov 2018 06:48:02 +0000 (06:48 +0000)
commit11e2d5329ef428cb3ea5dda0bdd145dd250194fb
treea77fcfd9e1f66ab3523654bd65312499e46e2a1c
parent4683394cd0b76e9ab4256713fa84206207607c6d
Fix compatibility with z3-4.8.1

With z3-4.8.1:
../tools/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp:49:40: error:
'Z3_get_error_msg_ex' was not declared in this scope
../tools/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp:49:40: note:
suggested alternative: 'Z3_get_error_msg'

Formerly used Z3_get_error_msg_ex() as one could find in z3-4.7.1 states:
"Retained function name for backwards compatibility within v4.1"
And it is implemented only as a forwarding call:
return Z3_get_error_msg(c, err);

Differential Revision: https://reviews.llvm.org/D54391

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp