r207964 - Added some heuristics to identify c style casting

Dinesh Dwivedi dinesh.d at samsung.com
Mon May 5 22:27:04 PDT 2014


Hi Tobias,

This is not because of my changes. We have identified cause and will submit changes 
once reviewed by Daniel.

Regards
Dinesh Dwivedi

------- Original Message -------
Sender : Tobias Grosser<tobias at grosser.es> 
Date   : May 05, 2014 20:38 (GMT+05:30)
Title  : Re: r207964 - Added some heuristics to identify c style casting

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