]> granicus.if.org Git - clang/commit
clang-format: Improve array literal formatting fix in r206161.
authorDaniel Jasper <djasper@google.com>
Mon, 14 Apr 2014 12:11:07 +0000 (12:11 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 14 Apr 2014 12:11:07 +0000 (12:11 +0000)
commit8d29f537f5348d03c9d74e0d99c3e021f37f382f
tree2a46088c105849842e9a8bdaaceb6470a69061d8
parent7701d043851456661e4885ef37bac679199e81d7
clang-format: Improve array literal formatting fix in r206161.

Instead of choosing based on the number of elements, simply respect the
user's choice of where to wrap array literals.

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