2018-04-20 13:36:20 +00:00
|
|
|
@@
|
2019-04-29 14:12:41 +00:00
|
|
|
/* Disable this transformation for the securebits-util.h, as it makes
|
|
|
|
* the expression there confusing. */
|
|
|
|
position p : script:python() { p[0].file != "src/shared/securebits-util.h" };
|
2018-04-20 13:36:20 +00:00
|
|
|
expression x, y;
|
|
|
|
@@
|
2019-04-29 14:12:41 +00:00
|
|
|
(
|
|
|
|
- ((x@p) & (y)) == (y)
|
2018-04-20 13:36:20 +00:00
|
|
|
+ FLAGS_SET(x, y)
|
2019-04-29 14:12:41 +00:00
|
|
|
|
|
|
|
|
- (x@p & (y)) == (y)
|
2018-04-20 13:36:20 +00:00
|
|
|
+ FLAGS_SET(x, y)
|
2019-04-29 14:12:41 +00:00
|
|
|
|
|
|
|
|
- ((x@p) & y) == y
|
2018-04-20 13:36:20 +00:00
|
|
|
+ FLAGS_SET(x, y)
|
2019-04-29 14:12:41 +00:00
|
|
|
)
|