[clang] [Clang][Sema] Allow access to a public template alias declaration that refers to friend's private nested type (PR #83847)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 11 09:31:36 PDT 2024


================
@@ -0,0 +1,23 @@
+// RUN: %clang_cc1 -std=c++11 -verify %s
+// RUN: %clang_cc1 -std=c++14 -verify %s
+// RUN: %clang_cc1 -std=c++17 -verify %s
+// RUN: %clang_cc1 -std=c++20 -verify %s
----------------
zyn0217 wrote:

Do we really need so many runs? I wonder if only `-std=c++11` is sufficient.

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


More information about the cfe-commits mailing list