]> granicus.if.org Git - clang/commit
[clang-format] Remove empty lines before }[;] // comment
authorKrasimir Georgiev <krasimir@google.com>
Mon, 19 Mar 2018 15:33:40 +0000 (15:33 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 19 Mar 2018 15:33:40 +0000 (15:33 +0000)
commit1d55d15d7f23ee41436b23d2b3d179e881f8a883
treea144423c9fea9c13fa82c45c429345b2acd1e51e
parentf0ded5d209962c82f4a93d4ae3c9cf296a04adf8
[clang-format] Remove empty lines before }[;] // comment

Summary:
This addresses bug 36766 and a FIXME in tests about empty lines before
`}[;] // comment` lines.

Subscribers: klimek, cfe-commits

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

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