<div dir="ltr">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?</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sun, Dec 1, 2013 at 7:01 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This seems to have caused a regression with at least the emacs<br>
integration. Running clang-format-region now seems to remove trailing<br>
white space from unrelated areas. For example, run it with the cursor<br>
in Sema.cpp:1112:<br>
<br>
  if (!LangOpts.RetainCommentsFromSystemHeaders &&<br>
<br>
and the trailing white space in Sema.cpp:1100:<br>
<br>
// We have a generic lambda if we parsed auto parameters, or we have<br>
<br>
is removed.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>