Go to file
Chris Lattner de5a531677 Improve the 'cannot pass objc interface by value' diagnostic:
1) improve localizability by not passing english strings in.
2) improve location for arguments.
3) print the objc type being passed.

Before:
method-bad-param.m:15:1: error: Objective-C type cannot be passed by value
-(void) my_method:(foo) my_param
^

after:
method-bad-param.m:15:25: error: Objective-C interface type 'foo' cannot be passed by value
-(void) my_method:(foo) my_param
                        ^

llvm-svn: 68872
2009-04-11 19:08:56 +00:00
clang Improve the 'cannot pass objc interface by value' diagnostic: 2009-04-11 19:08:56 +00:00
llvm Revert r68847. It breaks the build on non-Darwin targets, with this message 2009-04-11 15:57:04 +00:00