mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +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
|
@ -22,10 +22,6 @@ Revision History:
|
|||
#include<algorithm>
|
||||
#include"util.h"
|
||||
|
||||
#ifndef __fallthrough
|
||||
#define __fallthrough
|
||||
#endif
|
||||
|
||||
#define mix(a,b,c) \
|
||||
{ \
|
||||
a -= b; a -= c; a ^= (c>>13); \
|
||||
|
@ -116,7 +112,7 @@ unsigned get_composite_hash(Composite app, unsigned n, GetKindHashProc const & k
|
|||
switch (n) {
|
||||
case 2:
|
||||
b += chasher(app, 1);
|
||||
__fallthrough;
|
||||
Z3_fallthrough;
|
||||
case 1:
|
||||
c += chasher(app, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue