C++: Support using enum declarations.

This commit is contained in:
Alexandre Boulgakov
2024-07-17 14:31:52 +01:00
parent 38aac1f444
commit a0954f15c0
2 changed files with 32 additions and 10 deletions

View File

@@ -485,10 +485,17 @@ namespace_decls(
int bodylocation: @location_default ref
);
case @using.kind of
1 = @using_declaration
| 2 = @using_directive
| 3 = @using_enum_declaration
;
usings(
unique int id: @using,
int element_id: @element ref,
int location: @location_default ref
int location: @location_default ref,
int kind: int ref
);
/** The element which contains the `using` declaration. */