]> granicus.if.org Git - clang/commit
clang-format: Improve pointer/reference detection.
authorDaniel Jasper <djasper@google.com>
Mon, 28 Jul 2014 12:24:21 +0000 (12:24 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 28 Jul 2014 12:24:21 +0000 (12:24 +0000)
commitad9a8589658719a4f8856eadeb86518891b33143
treefa714c596f8452b216104ccc6ca3e8db9b183f1c
parenta0e9d766225efe45cbb00d1f87042f4015bdb9c5
clang-format: Improve pointer/reference detection.

Before (with left pointer alignment):
  void f(int i = 0, SomeType* *temps = NULL);

After:
  void f(int i = 0, SomeType** temps = NULL);

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