Files
swift-mirror/lib/Serialization/SerializeDoc.cpp
Jordan Rose eddb736de6 [Serialization] Simplify reading of group info for swiftdoc files (#26734)
Before:
- call a helper object to get group name info
- which called another helper object to parse group name info (lazily)
- and cached that in a global map
- which was never accessed anywhere else

After:
- just parse the group name info up front
- and look up into it as necessary

No intended functionality change; in practice decls without groups
might now sort to the top where before they'd be "in the middle
somewhere" (wherever the first decl-without-group appeared).
2019-08-20 11:52:38 -07:00

16 KiB