Skip to content

Commit 6322270

Browse files
authored
Merge branch 'main' into criemen/flip-enable-plus
2 parents 4c21444 + 25b3d76 commit 6322270

File tree

43 files changed

+12160
-2068
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+12160
-2068
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class Expr extends @expr {
2+
string toString() { none() }
3+
}
4+
5+
class Location extends @location_expr {
6+
string toString() { none() }
7+
}
8+
9+
predicate isExprRequires(Expr expr) { exists(int kind | exprs(expr, kind, _) | kind = 390) }
10+
11+
from Expr expr, int kind, int kind_new, Location location
12+
where
13+
exprs(expr, kind, location) and
14+
if isExprRequires(expr) then kind_new = 1 else kind_new = kind
15+
select expr, kind_new, location

0 commit comments

Comments
 (0)