Commit Graph

4 Commits

Author SHA1 Message Date
Xi Ge
6b1f736f16 Availability: only diagnose exposing SPI_AVAILABLE symbols in modules with library-level=API
For executable targets or private libraries, using SPI_AVAILABLE symbols should be allowed.

rdar://91088241
2022-04-04 15:33:30 -07:00
Luciano Almeida
1e4563a9b6 [test] Restrict spi-available inline to macosx only 2022-03-28 21:35:50 -03:00
Luciano Almeida
11a66dc537 Make spi-available-inline test target dynamic 2022-03-27 19:46:32 -03:00
Xi Ge
e0fd8895aa test: add a test for using SPI in inlinable function body 2022-03-06 08:39:03 -08:00