aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-11 19:08:56 +0000
committerChris Lattner <sabre@nondot.org>2009-04-11 19:08:56 +0000
commitde5a53167743291418a16e7f1da4153b268689d9 (patch)
treebc23d9fe1fd03ab71b942098721dde02eaef287d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentd8626fd2837160636478137347136db920615926 (diff)
downloadllvm-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