diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2016-11-14 13:16:55 -0800 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2016-11-14 13:16:55 -0800 |
commit | e52dc684cf4db42b320e373b0c73741fedb908f8 (patch) | |
tree | db1115835121cef280ae1903622f8a215f49d5db /tests/headers/forward-inherit-struct.hpp | |
parent | 004a19537f1f40e77aacdc13a2f56a8553e63dc9 (diff) |
Clean up TypeCollector implementations
Rather than making `TypeCollector` implementations recursively call
`type_collector` on their subtypes, just gather immediate subtypes into
the `ItemSet`. The subtypes' `TypeCollector` implementation will be
recursively called by `WhitelistedItemsIter`. This makes it less likely
we will "skip" a layer by recursively calling `collect_types` on
some subtypes without adding the subtypes themselves to the set.
Diffstat (limited to 'tests/headers/forward-inherit-struct.hpp')
0 files changed, 0 insertions, 0 deletions