[libcxx-commits] [clang] [libcxx] Reapply "[Clang] Implement resolution for CWG1835 (#92957, #98547)" (PR #100425)

Vlad Serebrennikov via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 24 11:20:06 PDT 2024


================
@@ -628,10 +628,12 @@ namespace cwg141 { // cwg141: 3.1
       // expected-error at -1 {{use 'template' keyword to treat 'f' as a dependent template name}}
     }
     void h() {
-      (void)t.S<int>::n; // ok
+      (void)t.S<int>::n;
----------------
Endilll wrote:

Previously this was considered well-formed, but now we're issuing a diagnostic. Can you elaborate?

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


More information about the libcxx-commits mailing list