Skip to content

Commit 2fc6484

Browse files
committed
C++: Add dbscheme upgrade and downgrade scripts
1 parent 1bab950 commit 2fc6484

File tree

7 files changed

+8852
-0
lines changed

7 files changed

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

0 commit comments

Comments
 (0)