C#: Add upgrade- and downgrade scripts for unsigned right shift operators.

This commit is contained in:
Michael Nebel
2023-01-11 15:09:00 +01:00
parent 529be7ef18
commit 5e89119b3d
7 changed files with 8290 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class Expression extends @expr {
string toString() { none() }
}
class TypeOrRef extends @type_or_ref {
string toString() { none() }
}
from Expression e, int k, int kind, TypeOrRef t
where
expressions(e, k, t) and
if k = [133, 134] then kind = 106 else kind = k
select e, kind, t

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
description: Remove unsigned right shift and unsigned right shift assignment expression kinds.
compatibility: backwards
expressions.rel: run expressions.qlo

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
description: Add unsigned right shift and unsigned right shift assignment expression kinds.
compatibility: backwards