commit | 02ad874efa40ad35741415bfe69e2c3c0c8f6910 | [log] [tgz] |
---|---|---|
author | Nathan Sidwell <nathan@acm.org> | Mon Jan 24 07:59:57 2022 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jan 26 05:06:13 2022 -0800 |
tree | a0bd5c701850720c09ed591aa476c6832f8e9a03 | |
parent | 6533d11048e15cf31181d5fd93d35ab96078bd49 [diff] |
[demangler] refactor SpecialSubKind Code generating the special substitutions in std is a switch statement with each case block containing the same conststruction template. It is more efficient to commonize that after the switch, having determined which SubKind to create. Also, let's sort the cases. Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D118131 GitOrigin-RevId: 4e5fce58485cc69ee69da10e26a338ceeef280a0