[clang] [Clang][Sema] access checking of friend declaration should not be delayed (PR #91430)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 8 01:38:50 PDT 2024


================
@@ -1477,8 +1477,16 @@ static Sema::AccessResult CheckAccess(Sema &S, SourceLocation Loc,
   //   void foo(A::private_type);
----------------
cor3ntin wrote:

The comment above needs tweaking

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


More information about the cfe-commits mailing list