Commit 862987a
committed
[demangler] Improve variadic template support
This commit changes how variadic templates are represented in the
demangler, in order to fix some longstanding bugs. Now instead of
expanding variadic templates during parsing, the expansion is done
during printing by reusing the unexpanded AST. This allows the
demangler to handle cases where multiple packs contribute to a single
production, and correctly handle "Dp" and "sp" productions, which
corrispond to pack expansions in type and expression contexts.
Differential revision: https://reviews.llvm.org/D41885
llvm-svn: 3239061 parent 82203c4 commit 862987a
File tree
3 files changed
+593
-416
lines changed- libcxxabi
- src
- test
3 files changed
+593
-416
lines changed
0 commit comments