ckandeler wrote:

> ```c++
> template <typename U>
> inline void Foo<T>::bar(const T& t, const U& u) {}
> ```
> 
> this won't compile as `T` isn't defined. you also need to print `template 
> <typename T>` on top (and keep doing for rest of the outer decls).

The patch does that already.
In the test, the outer template declaration is on the line above.

https://github.com/llvm/llvm-project/pull/112345
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to