[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
================
@@ -1503,6 +1505,7 @@ namespace cwg389 { // cwg389: no
typedef enum {} const D; // #cwg389-D
};
template<typename> struct T {};
+ // cxx98-note at -1 5{{template parameter is declared here}}
----------------
Endilll wrote:
Those, too, should go to their respective errors
https://github.com/llvm/llvm-project/pull/126088
More information about the llvm-branch-commits
mailing list