[libcxx-commits] [libcxx] [llvm] [libc++] LWG3870: Remove `voidify` (PR #110355)
Michael Buch via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Oct 1 08:54:46 PDT 2024
Michael137 wrote:
This template alias workaround is partly to blame:
```
commit bee8860525acbfe33f5b32870ad5e13de07fa6ff
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: Sat Jan 21 02:07:24 2023 +0000
[clang][DebugInfo] Don't canonicalize names in template argument list for alias templates
**Summary**
This patch customizes the `CGDebugInfo` printing policy to stop canonicalizing
the template arugment list in `DW_AT_name` for alias templates. The motivation for
this is that we want to be able to use the `TypePrinter`s support for
omitting defaulted template arguments when emitting `DW_AT_name`.
For reference, GCC currently completely omits the template arguments
when emitting alias template DIEs.
**Testing**
* Added unit-test
Differential Revision: https://reviews.llvm.org/D142268
```
https://github.com/llvm/llvm-project/pull/110355
More information about the libcxx-commits
mailing list