]> granicus.if.org Git - clang/commit
clang-format: Improve handling of unterminated string literals.
authorDaniel Jasper <djasper@google.com>
Tue, 16 Jul 2013 20:28:33 +0000 (20:28 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 16 Jul 2013 20:28:33 +0000 (20:28 +0000)
commit561211d35b5a2825fba6d0c017044f6896b204fd
tree04bfe05a7e5ab46a58d1dd08b8be6e0984583e45
parentbe6d9130585c33aaea3ee152f365031999d8debe
clang-format: Improve handling of unterminated string literals.

Before, clang-format would simply eat these as they were recognized as
whitespace. With this patch, they are mostly left alone.

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