]> granicus.if.org Git - clang/commit
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)
commit347e3d7dd0125ab7701df488e900639b7699dd16
treed2ff3486245df3a382cc8854424b6652f5084693
parentba3c37326e4e5a9d297eabb1fa486c130ff7866b
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.

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