]> granicus.if.org Git - clang/commit
Implement fallback split point for string literals.
authorManuel Klimek <klimek@google.com>
Fri, 1 Mar 2013 13:14:08 +0000 (13:14 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 1 Mar 2013 13:14:08 +0000 (13:14 +0000)
commitaf31fd7021e685280da9155e5017f1053b05fdf8
tree7c34fe96e124f258328ec7bb35388045fee800e0
parent2fbe92cc2464c77825209df9a262d9d13e5ba64c
Implement fallback split point for string literals.

If we don't find a natural split point (currently space) in a string
literal protruding over the line, we just split at the last possible
point.

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