C++: Handle C++17 switch initializers

This commit is contained in:
Jeroen Ketema
2022-04-29 16:18:25 +02:00
parent ebbd9c5b90
commit 71c019e126
11 changed files with 568 additions and 12 deletions

View File

@@ -1903,6 +1903,11 @@ do_body(
int body_id: @stmt ref
);
switch_initialization(
unique int switch_stmt: @stmt_switch ref,
int init_id: @stmt ref
);
#keyset[switch_stmt, index]
switch_case(
int switch_stmt: @stmt_switch ref,