]> granicus.if.org Git - clang/commit
[clang-format] skip empty lines and comments in the top of the code when inserting...
authorEric Liu <ioeric@google.com>
Fri, 3 Jun 2016 12:52:59 +0000 (12:52 +0000)
committerEric Liu <ioeric@google.com>
Fri, 3 Jun 2016 12:52:59 +0000 (12:52 +0000)
commit72e3b3b2a8bccb2b7e6e7253e060517e425f9024
treedb98a3261ee04057007317829fdfe60378b81ecd
parent9dcc3fc4c67238f8490fe30534e384003d90e594
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.

Summary:
[clang-format] skip empty lines and comments in the top of the code when inserting new headers.

Pair-programmed with @hokein

Reviewers: djasper

Subscribers: ioeric, cfe-commits, hokein, klimek

Differential Revision: http://reviews.llvm.org/D20898

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271664 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
unittests/Format/CleanupTest.cpp