[clang] [clang] Enable C++17 relaxed template template argument matching by default (PR #89807)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 26 01:39:42 PDT 2024


================
@@ -0,0 +1,115 @@
+// RUN: %clang_cc1 %s -fsyntax-only -std=c++23                                     -verify=expected,new
+// RUN: %clang_cc1 %s -fsyntax-only -std=c++23 -fno-relaxed-template-template-args -verify=expected,old
----------------
mizvekov wrote:

Thanks.

Since the core issue is not resolved by WG21, I don't want to claim to be resolving it here with this patch.

And while we don't remove the non-conforming flag, we should still test it, and it's just much more economical and error proof that we reuse the same tests.


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


More information about the cfe-commits mailing list