aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/TextAPI/Architecture.cpp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2022-01-24 07:59:57 -0800
committerNathan Sidwell <nathan@acm.org>2022-01-26 04:59:25 -0800
commit4e5fce58485cc69ee69da10e26a338ceeef280a0 (patch)
tree850e85f9e164535fce1066ab1021d4e7010ef9a5 /llvm/lib/TextAPI/Architecture.cpp
parent52c7faeae8fce49cd7e3853a29bb38e3ce5be892 (diff)
downloadllvm-4e5fce58485cc69ee69da10e26a338ceeef280a0.zip
llvm-4e5fce58485cc69ee69da10e26a338ceeef280a0.tar.gz
llvm-4e5fce58485cc69ee69da10e26a338ceeef280a0.tar.bz2
[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
Diffstat (limited to 'llvm/lib/TextAPI/Architecture.cpp')
0 files changed, 0 insertions, 0 deletions