]> granicus.if.org Git - clang/commit
clang-format: Break before 'else' in Stroustrup style.
authorDaniel Jasper <djasper@google.com>
Tue, 5 Aug 2014 12:06:20 +0000 (12:06 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 5 Aug 2014 12:06:20 +0000 (12:06 +0000)
commit7947557c1af14843c290367b095e41dce3e50494
tree6c812fed2a7c759fffff681d48fcffcd94010557
parent633b8b6d9f17cf8af3c3cc3386ae57e0ce21d6d1
clang-format: Break before 'else' in Stroustrup style.

Seems to be the desired thing to do according to:
  http://www.stroustrup.com/Programming/PPP-style-rev3.pdf

Patch by Jarkko Hietaniemi, thank you!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214857 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Format/Format.h
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTest.cpp