]> granicus.if.org Git - clang/commit
Fix crash on invalid.
authorManuel Klimek <klimek@google.com>
Fri, 11 Jan 2013 18:28:36 +0000 (18:28 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 11 Jan 2013 18:28:36 +0000 (18:28 +0000)
commitd465843f5376c7c1574fe61338cbf3dc50684d5b
tree7e99bcab91e4b71fdf75d698c9f17740b91a7866
parent606e07ecc0b7b0e01d23baa833b4b4c73af0d4f4
Fix crash on invalid.

if { foo; }
would previously crash clang-format.

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