[PATCH] D56523: Improve a -Wunguarded-availability note

Jan Korous via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 10 04:22:08 PST 2019


jkorous added a reviewer: jkorous.
jkorous added a comment.

Hi Erik, this looks neat!



================
Comment at: clang/test/Sema/availability-guard-format.mm:6
 @interface foo
-- (void) method_bar __attribute__((availability(macosx, introduced = 10_12))); // expected-note {{'method_bar' has been explicitly marked partial here}}
+- (void) method_bar __attribute__((availability(macosx, introduced = 10_12))); // expected-note {{'method_bar' has been marked as being introduced in macOS 10.12 here, but the deployment target is macOS 10.4.0}}
 @end
----------------
I am probably missing something but where is the deployment target value set?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56523/new/

https://reviews.llvm.org/D56523





More information about the cfe-commits mailing list