Fix parsing of return statements.
authorManuel Klimek <klimek@google.com>
Mon, 21 Jan 2013 10:07:49 +0000 (10:07 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 21 Jan 2013 10:07:49 +0000 (10:07 +0000)
commit762dd189a4c1c7db7b826d0e057edf980d7fe3ca
treec4f11e8c3f51524b316e3d21c7bd0db9569762c2
parent3fd1260155750203f9cb6029ec1f5fa8fc4e4673
Fix parsing of return statements.

Previously, we would not detect brace initializer lists in return
statements, thus:
 return (a)(b) { 1, 2, 3 };
would put the semicolon onto the next line.

llvm-svn: 173017
clang/lib/Format/UnwrappedLineParser.cpp
clang/lib/Format/UnwrappedLineParser.h
clang/unittests/Format/FormatTest.cpp