[clang] [Clang] Minimal support for availability attributes on partial specializations (PR #138426)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon May 5 08:22:16 PDT 2025
================
@@ -2385,12 +2385,16 @@ class Sema final : public SemaBase {
/// potential availability violations.
sema::FunctionScopeInfo *getCurFunctionAvailabilityContext();
- void DiagnoseAvailabilityOfDecl(NamedDecl *D, ArrayRef<SourceLocation> Locs,
- const ObjCInterfaceDecl *UnknownObjCClass,
- bool ObjCPropertyAccess,
- bool AvoidPartialAvailabilityChecks = false,
- ObjCInterfaceDecl *ClassReceiver = nullptr);
-
+ void DiagnoseAvailabilityOfDecl(
----------------
erichkeane wrote:
I tend to prefer overloads for this, can we do that instead?
https://github.com/llvm/llvm-project/pull/138426
More information about the cfe-commits
mailing list