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

Daniel Jasper djasper at google.com
Mon Dec 2 00:24:44 PST 2013


I just tried reproducing this and it still works fine here (both in vim and
in emacs). Are you sure that clang-format removes that trailing whitespace?


On Sun, Dec 1, 2013 at 7:01 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> This seems to have caused a regression with at least the emacs
> integration. Running clang-format-region now seems to remove trailing
> white space from unrelated areas. For example, run it with the cursor
> in Sema.cpp:1112:
>
>   if (!LangOpts.RetainCommentsFromSystemHeaders &&
>
> and the trailing white space in Sema.cpp:1100:
>
> // We have a generic lambda if we parsed auto parameters, or we have
>
> is removed.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131202/20fda3d4/attachment.html>


More information about the cfe-commits mailing list