Lines Matching refs:availability
425 Clang introduces the ``availability`` attribute, which can be placed on
432 void f(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6,obsoleted=10.7)));
434 The availability attribute states that ``f`` was introduced in Mac OS X 10.4,
443 The availability attribute is a comma-separated list starting with the
467 Multiple availability attributes can be placed on a declaration, which may
468 correspond to different platforms. Only the availability attribute with the
470 ignored. If no availability attribute specifies availability for the current
471 target platform, the availability attributes are ignored. Supported platforms
492 If there are multiple declarations of the same entity, the availability
494 declarations must not have availability attributes for that
499 void g(void) __attribute__((availability(macosx,introduced=10.4)));
500 void g(void) __attribute__((availability(macosx,introduced=10.4))); // okay, matches
501 void g(void) __attribute__((availability(ios,introduced=4.0))); // okay, adds a new platform
502 void g(void); // okay, inherits both macosx and ios availability from above.
503 void g(void) __attribute__((availability(macosx,introduced=10.5))); // error: mismatch
510 - (id)method __attribute__((availability(macosx,introduced=10.4)));
511 - (id)method2 __attribute__((availability(macosx,introduced=10.4)));
515 …- (id)method __attribute__((availability(macosx,introduced=10.3))); // okay: method moved into bas…
516 …- (id)method __attribute__((availability(macosx,introduced=10.5))); // error: this method was avai…
969 ``__has_feature(objc_arc)`` indicates the availability of automated reference
1057 availability of array literals; ``__has_feature(objc_dictionary_literals)``
1058 tests the availability of dictionary literals;
1059 ``__has_feature(objc_subscripting)`` tests the availability of object
1068 ``__has_feature(objc_default_synthesize_properties)`` checks for availability