[clang] [Clang][diagnostics] Fix structured binding shadows template param loc (PR #129116)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 09:47:43 PST 2025


================
@@ -162,3 +162,10 @@ struct A {
 };
 A<0>::B a;
 }
+
+template <typename T> void shadow() {  // expected-note{{template parameter is declared here}}
----------------
erichkeane wrote:

Please instantiate this template as well.

https://github.com/llvm/llvm-project/pull/129116


More information about the cfe-commits mailing list