Files
swift-mirror/test/Interpreter/SDK/Inputs/Foundation_bridge.h
Saleem Abdulrasool bdb7901a1c test: modernise nullability attributes (NFC)
Use the modern spelling for the nullability attributes in the test mock
headers.  Currently, this was relying on the predefined macros from
clang to work.  However, those are only available on Darwin targets.
This is needed to make the mock environments more portable.
2017-11-01 23:27:33 -07:00

7 lines
168 B
C

@import Foundation;
static inline NSArray *_Nullable getNullable() { return nil; }
static inline NSArray *_Nonnull getNonnull() {
return (NSArray * _Nonnull) nil;
}