mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: Add dbscheme upgrade and downgrade scripts
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
class BuiltinType extends @builtintype {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
from BuiltinType type, string name, int kind, int kind_new, int size, int sign, int alignment
|
||||||
|
where
|
||||||
|
builtintypes(type, name, kind, size, sign, alignment) and
|
||||||
|
if type instanceof @float16 or type instanceof @complex_float16
|
||||||
|
then kind_new = 2
|
||||||
|
else kind_new = kind
|
||||||
|
select type, name, kind_new, size, sign, alignment
|
||||||
2210
cpp/downgrades/a5bb28ed29f73855d64cc5f939cef977fa8fd19a/old.dbscheme
Normal file
2210
cpp/downgrades/a5bb28ed29f73855d64cc5f939cef977fa8fd19a/old.dbscheme
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,3 @@
|
|||||||
|
description: Introduce (_Complex) _Float16 type
|
||||||
|
compatibility: backwards
|
||||||
|
builtintypes.rel: run builtintypes.qlo
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
|||||||
|
description: Introduce (_Complex) _Float16 type
|
||||||
|
compatibility: full
|
||||||
Reference in New Issue
Block a user