C++: Allow sizeof pack in sizeof_bind

This commit is contained in:
Jeroen Ketema
2024-12-20 11:49:37 +01:00
parent 6f9968d2c2
commit 51f625b90c
7 changed files with 9378 additions and 2 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
description: Allow sizeof pack in sizeof_bind
compatibility: full

View File

@@ -1994,10 +1994,10 @@ uuidof_bind(
int type_id: @type ref int type_id: @type ref
); );
@runtime_sizeof_or_alignof = @runtime_sizeof | @runtime_alignof | @datasizeof; @sizeof_or_alignof = @runtime_sizeof | @runtime_alignof | @datasizeof | @sizeof_pack;
sizeof_bind( sizeof_bind(
unique int expr: @runtime_sizeof_or_alignof ref, unique int expr: @sizeof_or_alignof ref,
int type_id: @type ref int type_id: @type ref
); );

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
description: Allow sizeof pack in sizeof_bind
compatibility: backwards