[PATCH] D118131: [demangler] refactor SpecialSubKind
Nathan Sidwell via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 25 05:12:40 PST 2022
urnathan created this revision.
urnathan added reviewers: ChuanqiXu, aaron.ballman.
urnathan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
https://reviews.llvm.org/D118131
Files:
libcxxabi/src/demangle/ItaniumDemangle.h
llvm/include/llvm/Demangle/ItaniumDemangle.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118131.402862.patch
Type: text/x-patch
Size: 3420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220125/828b75aa/attachment.bin>
More information about the llvm-commits
mailing list