[clang] [clang] Introduce `SemaAccess` (PR #92674)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 07:12:12 PDT 2024


================
@@ -1459,11 +1460,11 @@ static AccessResult CheckEffectiveAccess(Sema &S,
   llvm_unreachable("invalid access result");
 }
 
-static Sema::AccessResult CheckAccess(Sema &S, SourceLocation Loc,
-                                      AccessTarget &Entity) {
+static SemaAccess::AccessResult CheckAccess(Sema &S, SourceLocation Loc,
----------------
AaronBallman wrote:

Yeah, eventually it would be nice to clean up static functions so they have more limited access, but likely as follow-up work once the Great Splitting has finished.

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


More information about the cfe-commits mailing list