mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
use Z3_fallthrough instead of __falthrough directly to avoid messing with reserved identifiers
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
parent
a951ff0769
commit
0e387b2abe
7 changed files with 28 additions and 24 deletions
|
@ -516,7 +516,7 @@ inline unsigned ast_array_hash(T * const * array, unsigned size, unsigned init_v
|
|||
switch (size) {
|
||||
case 2:
|
||||
b += array[1]->hash();
|
||||
__fallthrough;
|
||||
Z3_fallthrough;
|
||||
case 1:
|
||||
c += array[0]->hash();
|
||||
}
|
||||
|
|
|
@ -1500,7 +1500,7 @@ br_status bv_rewriter::mk_bv_xor(unsigned num, expr * const * args, expr_ref & r
|
|||
result = m_util.mk_bv_not(new_args[1]);
|
||||
return BR_DONE;
|
||||
}
|
||||
__fallthrough;
|
||||
Z3_fallthrough;
|
||||
default:
|
||||
if (m_bv_sort_ac)
|
||||
std::sort(new_args.begin(), new_args.end(), ast_to_lt());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue