]> granicus.if.org Git - clang/commit
Fix parsing of initializer lists with elaborated type specifier.
authorManuel Klimek <klimek@google.com>
Fri, 11 Jan 2013 18:13:04 +0000 (18:13 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 11 Jan 2013 18:13:04 +0000 (18:13 +0000)
commit606e07ecc0b7b0e01d23baa833b4b4c73af0d4f4
tree119092defc4c073140e23e8b1eeb5ccf42e317f8
parent517e894c56211f57c487bdaba8ead0edc84396fe
Fix parsing of initializer lists with elaborated type specifier.

Now we correctly parse and format:
verifyFormat("struct foo a = { bar };
int n;

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