]> granicus.if.org Git - clang/commit
clang-format: Make AlwaysBreakBeforeMultilineStrings more conservative.
authorDaniel Jasper <djasper@google.com>
Thu, 18 Jun 2015 09:12:47 +0000 (09:12 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 18 Jun 2015 09:12:47 +0000 (09:12 +0000)
commit7b2b09b3070ab7ebaaa5103de1ddc88ad4805ce8
tree3ce9e7908b712eecafc3e5e188a3c6bff58e1173
parent289b8ef73c8a9ed76600ba452c3e3f6aa9fb2aa7
clang-format: Make AlwaysBreakBeforeMultilineStrings more conservative.

In essence this is meant to consistently indent multiline strings by a
fixed amount of spaces from the start of the line. Don't do this in
cases where it wouldn't help anyway.

Before:
  someFunction(aaaaa,
               "aaaaa"
               "bbbbb");

After:
  someFunction(aaaaa, "aaaaa"
                      "bbbbb");

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