Issue metadata
Sign in to add a comment
|
Clang format doesn't add empty line when moving header matching .cc to top of file |
||||||||||||||||||||||
Issue descriptioni.e. if you git cl format -- bar/foo.cc bar/foo.cc: #include "arc/a.h" #include "base/foo.h" #include "baz/b.h" it will correctly move foo.h to the top but without an empty line: Actual: #include "bar/foo.h" #include "arc/a.h" #include "baz/b.h" Expected: #include "bar/foo.h" #include "arc/a.h" #include "baz/b.h" Concrete example @ https://codereview.chromium.org/2876013002/diff/60001/chrome/browser/chromeos/input_method/textinput_test_helper.cc The codebase already has code that landed with that incorrect formatting. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by thakis@chromium.org
, May 12 2017Status: Duplicate (was: Assigned)