]> granicus.if.org Git - clang/commit
Fixes error when splitting block comments.
authorManuel Klimek <klimek@google.com>
Wed, 29 May 2013 22:06:18 +0000 (22:06 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 29 May 2013 22:06:18 +0000 (22:06 +0000)
commitbe9ed776e57fe606b5826a0d37a5a2dbfb927e63
tree5fdf433cd2f86b3f60c4944cd244e1ac09c00815
parent2628b44e100da28972a14854f98d0aa6f7b888e0
Fixes error when splitting block comments.

When trying to fall back to search from the end onwards, we
would still find leading whitespace if the leading whitespace
went on after the end of the line.

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