ahatanak added a comment. Is it possible to fix ObjCMessageExpr too while you are in here?
I think clang should issue a warning when compiling the following code: @protocol NSObject @end @interface NSObject<NSObject> @end @interface C1 : NSObject - (void)foo:(int)i; @end @implementation C1 - (void)foo:(int)i { } @end void test1(C1 *c) { [c foo:(4068 * 1024 * 1024)]; } https://reviews.llvm.org/D31839 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits