================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits