]> granicus.if.org Git - clang/commit
clang-format: Fix assertion on incomplete string literals.
authorDaniel Jasper <djasper@google.com>
Sun, 29 Sep 2013 12:02:57 +0000 (12:02 +0000)
committerDaniel Jasper <djasper@google.com>
Sun, 29 Sep 2013 12:02:57 +0000 (12:02 +0000)
commit20376989402fb187c0bc48209f46560b9e402ea2
tree7d21abdd4c49b0524c1b7c147dde5fb16a0e6c4f
parentd6992ab33b7113e1bd7af51c0c52d17c23706c01
clang-format: Fix assertion on incomplete string literals.

Before, this could would lead to an assert:
  llvm::errs() << "
               << a;

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