[PATCH] D144940: [clang][ExtractAPI] Handle platform specific unavailability correctly

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 28 08:34:12 PST 2023


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

LGTM, It's worth noting that if the user specifies that an API is unavailable in a later redeclaration, this will be ignored. For example if I add a line to the test `void e(void) __attribute__((availability(macos, unavailable)));` it will be ignored. Up to you whether you want to fix it now or at a later date.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144940



More information about the cfe-commits mailing list