[clang] Reland "[clang][Sema] Use original template pattern when declaring implicit deduction guides for nested template classes" (PR #69676)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 08:39:54 PDT 2023
kadircet wrote:
thanks for the revert! I also encountered certain crashes bisecting back to this patch, with a similar reproducer:
```
template <class T>
struct Module {
template <class... Bazs>
struct Baz {
template <class X, int Y = 0>
explicit Baz(X);
};
Baz(int) -> Baz<int, char>;
};
struct Bar {};
void foo() { Module<Bar>::Baz x{2}; }
```
https://github.com/llvm/llvm-project/pull/69676
More information about the cfe-commits
mailing list