Get less confused by trailing comma in Google style.
authorDaniel Jasper <djasper@google.com>
Thu, 14 Feb 2013 09:19:04 +0000 (09:19 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 14 Feb 2013 09:19:04 +0000 (09:19 +0000)
commit66e9dee707661e91f774dbf243d68ce669e2b3ff
tree1ab8862550e81555639c5305a4bf09872c7115b3
parent5b9d426907909035fd4de8b008f070c7377d1036
Get less confused by trailing comma in Google style.

The formatter can now format:
void aaaaaaaaaaaaaaaaaa(int level,
                        double *min_x,
                        double *max_x,
                        double *min_y,
                        double *max_y,
                        double *min_z,
                        double *max_z, ) {
}

Although this is invalid code, it frequently happens during development and
clang-format should be nicer :-).

llvm-svn: 175151
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp