]> granicus.if.org Git - clang/commit
[clang-format] append newline after code when inserting new headers at the end of...
authorEric Liu <ioeric@google.com>
Wed, 5 Oct 2016 15:42:19 +0000 (15:42 +0000)
committerEric Liu <ioeric@google.com>
Wed, 5 Oct 2016 15:42:19 +0000 (15:42 +0000)
commitcd5b63876f8154c98c8aafcdbb3dd725be7c701e
treed7367cdae14b12995941949467494e896b0fd4c4
parentfad8d6d9772c2b1ba0450f51cb232a04cf16f934
[clang-format] append newline after code when inserting new headers at the end of the code which does not end with newline.

Summary:
append newline after code when inserting new headers at the end of the
code which does not end with newline.

Reviewers: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D21026

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