]> granicus.if.org Git - clang/commit
Don't add an extra space before ellipsis after pointers.
authorDaniel Jasper <djasper@google.com>
Mon, 1 Jul 2013 09:47:25 +0000 (09:47 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 1 Jul 2013 09:47:25 +0000 (09:47 +0000)
commitc47d7f1237b022eabbbdcebf77506e8a81aa54bd
treede0e0ea38378c71c42d935d2bcb5a5df9e2192cb
parent3a1847e0a1810a0b1b963182abc59114cc5ff53d
Don't add an extra space before ellipsis after pointers.

Before (for styles where the pointer binds to the type):
template <class... Ts> void Foo(Ts... ts) {}
template <class... Ts> void Foo(Ts* ... ts) {}
After:
template <class... Ts> void Foo(Ts... ts) {}
template <class... Ts> void Foo(Ts*... ts) {}

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