]> granicus.if.org Git - clang/commit
Don't align "} // namespace" comments.
authorDaniel Jasper <djasper@google.com>
Mon, 1 Jul 2013 11:22:57 +0000 (11:22 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 1 Jul 2013 11:22:57 +0000 (11:22 +0000)
commitcbe86cc538b9e1af9f36b8a9c57ea51119306689
treeedd91e77d009f46172b633efbb26a4ac2176e1f0
parent80db6a7df8cf4992cffdf6b6ee7dd30f5cc08bba
Don't align "} // namespace" comments.

This is not all bad, but people are often surprised by it.

Before:
namespace {
int SomeVariable = 0; // comment
}                     // namespace

After:
namespace {
int SomeVariable = 0; // comment
} // namespace

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