Skip to content

Commit bff4213

Browse files
committed
C++: Add upgrade and downgrade scripts
1 parent f910906 commit bff4213

File tree

7 files changed

+9980
-0
lines changed

7 files changed

+9980
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class BuiltinType extends @builtintype {
2+
string toString() { none() }
3+
}
4+
5+
from BuiltinType id, string name, int kind, int new_kind, int size, int sign, int alignment
6+
where
7+
builtintypes(id, name, kind, size, sign, alignment) and
8+
if kind = 62 then new_kind = 1 else new_kind = kind
9+
select id, name, new_kind, size, sign, alignment

0 commit comments

Comments
 (0)