Skip to content

Commit b25c458

Browse files
authored
Merge pull request #22816 from jketema/jketema/bitint
C++: Add support for C23 `_BitInt`s
2 parents 1a595bc + 75d1cb9 commit b25c458

11 files changed

Lines changed: 14074 additions & 3621 deletions

File tree

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 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 kind in [67, 68, 69] then kind_new = 1 else kind_new = kind
9+
select type, name, kind_new, size, sign, alignment

0 commit comments

Comments
 (0)