commit | f302354a7d1a63186fb0d9aa600ce3257be1f690 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Thu Mar 07 20:50:00 2013 +0000 |
committer | Daniel Jasper <djasper@google.com> | Thu Mar 07 20:50:00 2013 +0000 |
tree | 8796a9931027a170f05f930ae1d41de9cb307fa7 | |
parent | f4b48042724d2253d0426cadcb93e24eeb47e264 [diff] |
Remove unncessary whitespace when triggered on empty line. With the cursor located at "I", clang-format would not do anything to: int a; I int b; With this patch, it reduces the number of empty lines as necessary, and removes unnecessary whitespace. It does not change/reformat "int a;" or "int b;". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176650 91177308-0d34-0410-b5e6-96231b3b80d8