clang-format: [ObjC] Add separate flag to control indentation in blocks
authorDaniel Jasper <djasper@google.com>
Tue, 28 Oct 2014 16:53:38 +0000 (16:53 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 28 Oct 2014 16:53:38 +0000 (16:53 +0000)
commit50d634b3432dbd9f549e0243011009ddb325f8ff
tree0c50b0876928ad9b451093ce6199e0e4d4d22af8
parent3e534c93b9886cc5132845ad0872e24e5e4fb93a
clang-format: [ObjC] Add separate flag to control indentation in blocks

Apparently, people are very much divided on what the "correct"
indentation is. So, best to give them a choice.

The new flag is called ObjCBlockIndentWidth and the default is now set
to the same value as IndentWidth for the pre-defined styles.

llvm-svn: 220784
clang/include/clang/Format/Format.h
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp