HomePhabricator

[clang][Fuchsia] Support availability attr on Fuchsia

Authored by haowei on Sep 27 2021, 1:47 PM.

Description

[clang][Fuchsia] Support availability attr on Fuchsia

This patch adds support to attribute((availability)) annotation for
Fuchsia platform. This patch also adds '-ffuchsia-api-level' to allow
specify Fuchsia API level from the command line.

Differential Revision: https://reviews.llvm.org/D108592