[llvm-branch-commits] [clang] [clang] Implement instantiation context note for checking template parameters (PR #126088)

Vlad Serebrennikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Feb 6 09:49:31 PST 2025


================
@@ -637,6 +641,8 @@ namespace cwg431 { // cwg431: 2.8
 
 namespace cwg432 { // cwg432: 3.0
   template<typename T> struct A {};
+  // expected-note at -1    {{template parameter is declared here}}
+  // since-cxx11-note at -2 {{template parameter is declared here}}
----------------
Endilll wrote:

```suggestion
  //   since-cxx11-note at -2 {{template parameter is declared here}}
```

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


More information about the llvm-branch-commits mailing list