]> granicus.if.org Git - clang/commit
Fixes breaking of string literals.
authorManuel Klimek <klimek@google.com>
Fri, 8 Mar 2013 18:59:48 +0000 (18:59 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 8 Mar 2013 18:59:48 +0000 (18:59 +0000)
commitaa62d0c4fc9449d4c438fe200ef329b067c037c7
tree218b4ebaab09258b8490fde8e4cc62f0ae13b860
parentc2ac68e09f4adf0f9fcfe53c1fcc5e87d069806a
Fixes breaking of string literals.

1. We now ignore all non-default string literals, including raw
literals.
2. We do not break inside escape sequences any more.

FIXME: We still break in trigraphs.

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