[clang] Redesign handling of anyAppleOS availability attribute (PR #190817)
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 11:49:11 PDT 2026
================
@@ -2520,14 +2535,41 @@ AvailabilityAttr *Sema::mergeAvailabilityAttr(
auto *Avail = ::new (Context) AvailabilityAttr(
Context, CI, Platform, Introduced, Deprecated, Obsoleted, IsUnavailable,
Message, IsStrict, Replacement, Priority, Environment,
- OrigAnyAppleOSVersion);
+ /*InferredAttr=*/nullptr);
Avail->setImplicit(Implicit);
return Avail;
}
return nullptr;
}
-/// Returns true if the given availability attribute should be inferred, and
----------------
ahatanak wrote:
No, I accidentally removed it.
https://github.com/llvm/llvm-project/pull/190817
More information about the cfe-commits
mailing list