Skip to content

Commit 6c21fba

Browse files
committed
C++: Add an upgrade script
1 parent 4385ca1 commit 6c21fba

File tree

4 files changed

+3794
-0
lines changed

4 files changed

+3794
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
class LambdaCapture extends @lambdacapture { string toString() { none() } }
3+
class Lambda extends @lambdaexpr { string toString() { none() } }
4+
class Field extends @membervariable { string toString() { none() } }
5+
class Location extends @location_default { string toString() { none() } }
6+
class Type extends @usertype { string toString() { none() } }
7+
8+
from LambdaCapture lc, Lambda l, int i, Field f,
9+
boolean captured_by_reference, boolean is_implicit,
10+
Location loc, Type t
11+
where lambda_capture(lc, l, i, captured_by_reference, is_implicit, loc)
12+
and expr_types(l, t, _)
13+
and member(t, i, f)
14+
select lc, l, i, f, captured_by_reference, is_implicit, loc
15+

0 commit comments

Comments
 (0)