mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When available, use Clang's new diagnose_if attribute to mark Objective-C methods/properties that were generated based on the @objc inference rules that have been removed from Swift 4. The diagnose_if warnings aren't likely to be accidentally disabled or hidden by other deprecated code. Fixes rdar://problem/32370734.
4.9 KiB
4.9 KiB