Commit Graph

6 Commits

Author SHA1 Message Date
Anthony Latsis
5e41794680 AST: Quote attributes more consistently in DiagnosticsSema.def 2025-04-23 19:18:08 +01:00
Allan Shortlidge
a81c05755e Sema: Avoid use @_spi instead diagnostic on nested decls with @_spi_available.
Resolves rdar://102443376
2023-01-24 11:00:03 -08:00
Luciano Almeida
52e2b3dc24 [Parse] Suggest platform correction based on known platforms edit distance 2022-09-26 19:44:04 -03:00
Allan Shortlidge
f1ecb4c215 Parse: Offer a fix-it when platform is specified with the wrong case in availability attributes and queries.
Resolves rdar://100195680
2022-09-21 16:21:36 -07:00
Xi Ge
4f9cfd3a4f sema: diagnose @_spi_available on all platforms
@_spi_available should only be used when the symbol is publically available in some deployment
platforms, otherwise we should use @_spi.
2022-09-07 13:20:50 -07:00
Xi Ge
741d1bf48b test: add an attribute test 2022-03-05 12:27:04 -08:00