diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-04-16 09:37:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 09:37:42 +0000 |
commit | e76b6399550f6de221cd7fb88e981c0e72db7f86 (patch) | |
tree | a05dbbd23dcba07c63a6d4f59a534dc1af799776 /gcc/diagnostic-format-json.cc | |
parent | 042c8750245e011e3585b56f9080126636f10444 (diff) | |
parent | c4443ca3b2e1e0847bcb1a7d858d4bb0de16fdb3 (diff) | |
download | gcc-e76b6399550f6de221cd7fb88e981c0e72db7f86.zip gcc-e76b6399550f6de221cd7fb88e981c0e72db7f86.tar.gz gcc-e76b6399550f6de221cd7fb88e981c0e72db7f86.tar.bz2 |
Merge #1118
1118: Add reachability visitor to Enum variants r=CohenArthur a=CohenArthur
This visits all of an enum's variants and their fields if present. To do that properly, this adds a new `EnumItemKind` enum which allows static casting when visiting each variant of the enum (kept as an `EnumItem` class which is derived three times)
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/diagnostic-format-json.cc')
0 files changed, 0 insertions, 0 deletions