Cyndy Ishida
f869bd7e8a
[TBDGen] Write tbd-v5 files by default
...
* Fixup tests to handle new json based output.
* Use llvm-nm & readtapi to verify tbd file outputs.
resolves: rdar://117604275
2023-11-14 08:06:24 -08:00
Allan Shortlidge
c54689bf49
Test: Fix copy-pasta in spi_helper.swift by making SPIStruct type a struct instead of a class.
2022-10-21 20:59:13 -07:00
Arnold Schwaighofer
084db0d38f
Revert "Merge pull request #34848 from aschwaighofer/make_prespecialization_experimental"
...
This reverts commit 3aec862e62 , reversing
changes made to 158427bd5b .
2021-02-12 10:12:01 -08:00
Arnold Schwaighofer
8346bf7e90
Pre-specialization: This is an experimental feature
...
Only enable if explicitly required.
2020-11-20 09:13:16 -08:00
Arnold Schwaighofer
2a2cf91dcd
Add support for marking a _specialize attribute as SPI
...
```
@_specialize(exported: true, spi: SPIGroupName, where T == Int)
public func myFunc() { }
```
The specialized entry point is only visible for modules that import
using `_spi(SPIGroupName) import ModuleDefiningMyFunc `.
rdar://64993425
2020-10-12 09:19:29 -07:00
Alexis Laferrière
d12292ca92
[Sema] Consider SPI decls public to emit symbols and TBD
2020-02-19 14:17:14 -08:00