]> granicus.if.org Git - clang/commit
Correctly format pointers and references in casts.
authorDaniel Jasper <djasper@google.com>
Wed, 2 Jan 2013 15:46:59 +0000 (15:46 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 2 Jan 2013 15:46:59 +0000 (15:46 +0000)
commitef5b9c3d38a1f6d0921591cb2749e529a8cc4a2e
tree6df00a7270552366135c9e304f8ad8553c8c5642
parent1f0754bf761f7d4910348ce3aba867d34473bceb
Correctly format pointers and references in casts.

This fixes llvm.org/PR14747.

Before: Type *A = (Type * ) P;
After:  Type *A = (Type *) P;

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