r207964 - Added some heuristics to identify c style casting
Tobias Grosser
tobias at grosser.es
Mon May 5 08:08:47 PDT 2014
On 05/05/2014 15:14, Dinesh Dwivedi wrote:
> Author: dinesh
> Date: Mon May 5 08:14:35 2014
> New Revision: 207964
>
> URL: http://llvm.org/viewvc/llvm-project?rev=207964&view=rev
> Log:
> Added some heuristics to identify c style casting
>
> Before:
> void f() { my_int a = (my_int) * b; }
> void f() { return P ? (my_int) * P : (my_int)0; }
>
> After:
> void f() { my_int a = (my_int)*b; }
> void f() { return P ? (my_int)*P : (my_int)0; }
>
> Differential Revision: http://reviews.llvm.org/D3576
It seems this commit changed the formatting of the following code. Was
this intended?
- (void)F;
+ (void) F;
Tobias
More information about the cfe-commits
mailing list