]> granicus.if.org Git - clang/commit
clang-format: Fix corner case for string splitting ..
authorDaniel Jasper <djasper@google.com>
Fri, 23 Aug 2013 11:57:34 +0000 (11:57 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 23 Aug 2013 11:57:34 +0000 (11:57 +0000)
commit4df1ff96262b8bde75c6801ef42659f352aa2422
treea99abf8e3a83df6235c660e3b2b5c6e237c0f73b
parented51c02f4c87ddb2d2f45193e4041921ac363f76
clang-format: Fix corner case for string splitting ..

.. in conjunction with Style.AlwaysBreakBeforeMultilineStrings. Also,
simplify the implementation by handling newly split strings and already
split strings by the same code.

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