]> granicus.if.org Git - clang/commit
Fix formatting of new arrays of pointers.
authorDaniel Jasper <djasper@google.com>
Wed, 13 Mar 2013 07:49:51 +0000 (07:49 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 13 Mar 2013 07:49:51 +0000 (07:49 +0000)
commit6f21a988990ff5872822dcb049bd8fc65ce3d236
tree3674fc64cc6a90272d87924bc2a096dcfb35f132
parente0d5c86687c4a449f5104306108aa365b20ba09d
Fix formatting of new arrays of pointers.

Before:
A = new SomeType * [Length];
A = new SomeType *[Length]();

After:
A = new SomeType *[Length];
A = new SomeType *[Length]();

Small formatting cleanups with clang-format.

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