mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ClangImporter: support SDK for APINotes
Honour the SDK for APINotes to augment the system libraries. This allows us to distribute APINotes with the Swift SDK and impact the system without having to map the APINotes into the filesystem.
This commit is contained in:
committed by
Saleem Abdulrasool
parent
fa54a4c341
commit
a8f47b3ef5
@@ -60,3 +60,5 @@ void opaque_pointer_param(struct not_importable *);
|
||||
|
||||
int unsupported_parameter_type(int param1, _Complex int param2);
|
||||
_Complex int unsupported_return_type();
|
||||
|
||||
void nullability_note(const char * _Nonnull const * _Nonnull parameter);
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
Name: cfuncs
|
||||
Functions:
|
||||
- Name: nullability_note
|
||||
Parameters:
|
||||
- Position: 0
|
||||
Type: "const char * _Nullable const * _Nonnull"
|
||||
Reference in New Issue
Block a user