llvm-for-llvmta/tools/clang/test/SemaObjCXX/Inputs/nullability-completeness-cf...

14 lines
313 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
@class NSError;
#pragma clang assume_nonnull begin
#ifdef USE_MUTABLE
typedef struct __attribute__((objc_bridge_mutable(NSError))) __CFError * CFErrorRef;
#else
typedef struct __attribute__((objc_bridge(NSError))) __CFError * CFErrorRef;
#endif
void func1(CFErrorRef *error);
#pragma clang assume_nonnull end