Skip to content
  • Chris Lattner's avatar
    Improve the 'cannot pass objc interface by value' diagnostic: · de5a5316
    Chris Lattner authored
    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
    de5a5316
Loading