3
0
Fork 0
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:
Nuno Lopes 2015-10-09 18:06:49 +01:00
parent a951ff0769
commit 0e387b2abe
7 changed files with 28 additions and 24 deletions

View file

@ -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);
}