ahatanak added a comment. I see a warning when I compile the following (contrived) example:
typedef const struct __attribute__((objc_bridge(NSError))) __CFString * CFStringRef; extern "C" { typedef const struct __attribute__((objc_bridge(NSString))) __CFString * CFStringRef; } @interface NSString @end @interface NSError @end void CFStringGetLength(CFStringRef theString); int main() { CFStringGetLength((__bridge CFStringRef)(NSString *)0); } Should we try to restore the behavior prior to https://reviews.llvm.org/rG09abecef7bbfda18d34f046954eaa4d491062839 as much as we can? Or that's not important? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99661/new/ https://reviews.llvm.org/D99661 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits