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

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 29 19:01:25 PST 2026


================
@@ -0,0 +1,20 @@
+// RUN: %clang_cc1 -std=c++11 -verify %s
+// expected-no-diagnostics
+
+struct FooAccessor
----------------
shafik wrote:

We should avoid adding new test files for individual fixes like this, there is surely a friend or using test file that this could have been added to.

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


More information about the cfe-commits mailing list