Skip to content

Commit 67b3670

Browse files
authored
Merge pull request #15901 from jketema/destructors11
C++: Introduce re-use expressions in the database scheme
2 parents b638d4d + 8d5eab4 commit 67b3670

File tree

10 files changed

+13266
-4111
lines changed

10 files changed

+13266
-4111
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
class Expr extends @expr {
2+
string toString() { none() }
3+
}
4+
5+
class Location extends @location_expr {
6+
string toString() { none() }
7+
}
8+
9+
from Expr expr, int kind, int kind_new, Location loc
10+
where
11+
exprs(expr, kind, loc) and
12+
if kind = 363 then kind_new = 1 else kind_new = kind
13+
select expr, kind_new, loc

0 commit comments

Comments
 (0)