Files
clang-p2996/clang/test/CodeGenCXX/debug-info-template-parameter.cpp
Michael Buch 2c22cfd4c9 [clang][DebugInfo] Add DW_AT_default_value support for template template parameters
After this patch, in the following snippet:
```
template <typename T> Foo {};

template <template <typename T> class CT = Foo> Bar {};

Bar<> b;
```

The debug-info entry for the `CT` template parameter will have
a `DW_AT_default_value (true)` attached to it.

Differential Revision: https://reviews.llvm.org/D139989
2022-12-16 11:38:54 +00:00

3.2 KiB