r195954 - clang-format: Extends formatted ranges to subsequent lines comments.

Alp Toker alp at nuanti.com
Thu Dec 5 03:32:00 PST 2013


On 05/12/2013 11:11, Daniel Jasper wrote:
> $ cat format.cpp | bin/clang-format -lines 3:3
> void f(   ) {
>
>   // Get the solitary sucessor.
>   const CFGBlock *Succ = *(Entry->succ_begin());
> }
>
> Trailing whitespace is removed but line is otherwise left alone.

Confirmed, there was no real problem here, just misread the diff.

A couple of trailing whitespaces are getting removed outside of the 
selection range but that can be lived with :-)

Alp.

-- 
http://www.nuanti.com
the browser experts




More information about the cfe-commits mailing list