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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Dec 1 10:01:38 PST 2013


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



More information about the cfe-commits mailing list