]> granicus.if.org Git - clang/commit
Fix crash for incomplete labels in macros.
authorDaniel Jasper <djasper@google.com>
Tue, 12 Feb 2013 20:17:17 +0000 (20:17 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 12 Feb 2013 20:17:17 +0000 (20:17 +0000)
commit89a0daa0ec1fbc43489e3bb9e9648c816258f00f
treee55f07046ebc0ead79aac03c57871d98d13a9573
parentbe8e36c5ee4559a5f662dbcfd827d52e02c039a9
Fix crash for incomplete labels in macros.

Still the formatting can be improved, but at least we don't assert any
more. This happened when trying to format lib/Sema/SemaType.cpp.

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