Fix another regression for pointer types.
authorDaniel Jasper <djasper@google.com>
Wed, 23 Jan 2013 12:10:53 +0000 (12:10 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 23 Jan 2013 12:10:53 +0000 (12:10 +0000)
commit5b49f47835e89ffc6dbf8468322febe66ebb6ecf
tree10f354391e789dadb90c58c1607ef3b81d3d3683
parent228921d71e253a5bf65593020d52b588674f3510
Fix another regression for pointer types.

Before: if (int * a = &b) ...
After:  if (int *a = &b) ...

Also changed all the existing tests to test the expressions in question
both in a declaration and in an expression context.

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