diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-04-11 19:08:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-04-11 19:08:56 +0000 |
| commit | de5a53167743291418a16e7f1da4153b268689d9 (patch) | |
| tree | bc23d9fe1fd03ab71b942098721dde02eaef287d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | d8626fd2837160636478137347136db920615926 (diff) | |
| download | llvm-de5a53167743291418a16e7f1da4153b268689d9.zip llvm-de5a53167743291418a16e7f1da4153b268689d9.tar.gz llvm-de5a53167743291418a16e7f1da4153b268689d9.tar.bz2 | |
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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
