[PATCH] D112271: [clang][Fuchsia] Add additional unit test for availability attr

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 21 15:26:54 PDT 2021


phosek accepted this revision.
phosek added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/test/Sema/attr-availability-fuchsia.c:19
 void f7(int) __attribute__((availability(fuchsia, introduced = 16.1))); // expected-warning {{Fuchsia API Level prohibits specifying a minor or sub-minor version}}
+void f8(int) __attribute__((availability(fuchsia, introduced = 19))); // nothing will happen as 'strict' is not specified.
 
----------------
No dot at the end.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112271



More information about the cfe-commits mailing list