This fixes https://bugs.llvm.org/show_bug.cgi?id=48009 bug.
Details
- Reviewers
rsmith jyknight erik.pilkington krisb jhenderson - Group Reviewers
Restricted Project - Commits
- rG876435c487cf: * Fix demangling of optional template-args for vendor extended type qualifier.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I don't know how demangler changes are usually tested, as I don't maintain the lower-level library, but I don't think testing it inside llvm/test/tools/llvm-cxxfilt/ is the right place, as those are tests for the top-level tool features (i.e. changes in the llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp). A quick look at past commits to the demangler library and existing tests suggests that you should probably test this in llvm/unittests/Demangle somewhere.
Thanks for the test update - that bit looks good to me. I'm not familiar enough with the demangling code to review the rest, so am resigning as reviewer, in the hope that will clear my "request changes" mark.
llvm/unittests/Demangle/DemangleTest.cpp | ||
---|---|---|
26 |
It seems it makes sense to apply the same changes to libcxxabi (see, libcxxabi/src/demangle/ItaniumDemangle.h) to keep them in sync.