Abramo-Bagnara wrote:
@alejandro-alvarez-sonarsource @steakhal
This breaks the type info loaded correctly in previous decl instantiation:
```
template <typename T>
struct s {
operator T();
return 0;
}
};
void f() {
s<int> x;
(int)x;
}
```
In this case the instantiated conversion DeclarationNameInfo is reverted back
to template parameter T, instead of correct SubstTemplateTypeParmType.
https://github.com/llvm/llvm-project/pull/92654
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits