[clang] [Clang] Implement CWG2517 Useless restriction on use of parameter in constraint-expression (PR #132919)

Yanzuo Liu via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 26 09:00:36 PDT 2025


================
@@ -32,6 +32,26 @@ enum E2 : S<E2>::I { e };
 #endif
 } // namespace cwg2516
 
+namespace cwg2517 { // cwg2517: 21
+#if __cplusplus >= 202302L
----------------
zwuis wrote:

The resolution of defect reports is applied to all C++ standard verions where the issue exists unless specified (e.g. [CWG2237](https://wg21.link/cwg2237)). You can visit <https://wg21.link/cwg#Issue%20Status> to see the meaning of the issue status code.

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


More information about the cfe-commits mailing list