aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2022-02-11 05:54:40 -0800
committerNathan Sidwell <nathan@acm.org>2022-02-14 04:00:49 -0800
commit880e87580a219996f96ebf2cc9be9740f1a99a4c (patch)
tree380a38056f8a9a2e1d43f03c45061c9e1a47a68c /llvm/lib/Bitcode
parent995c4f306890ad379de19106f053238ce89f1483 (diff)
downloadllvm-880e87580a219996f96ebf2cc9be9740f1a99a4c.zip
llvm-880e87580a219996f96ebf2cc9be9740f1a99a4c.tar.gz
llvm-880e87580a219996f96ebf2cc9be9740f1a99a4c.tar.bz2
[demangler][NFC] Tweak legacy uuidof handling
We have to special-case 'u 8__uuidof [tz]' demangling for legacy support. That handling is a little duplicative. * It seems better to just push the single expected node. * We can also use 'consumeIf' rather than open-coding the peeking and increment. * We don't need the numLeft < 2 check, as if there are few than that other paths will end up with detecting the error. FWIW This simplifies a future change adding operator precedence. Reviewed By: ChuanqiXu Differential Revision: https://reviews.llvm.org/D119543
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions