From 6e42b1eb8baf5305d4561685dfcbb11f3ac0a858 Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Mon, 1 Apr 2013 17:13:26 +0000 Subject: Improve formatting of function types. Before: void * (*a)(int *, SomeType *); After: void *(*a)(int *, SomeType *); llvm-svn: 178474 --- clang/lib/Format/Format.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/Format/Format.cpp') diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 245b7f60a6b..e8a83883878 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -805,7 +805,6 @@ private: // parameter, i.e. let nested calls have an indent of 4. State.Stack.back().LastSpace = State.Column + 1; // 1 is length of "(". else if (Previous.is(tok::comma)) - // Top-level spaces are exempt as that mostly leads to better results. State.Stack.back().LastSpace = State.Column; else if ((Previous.Type == TT_BinaryOperator || Previous.Type == TT_ConditionalExpr || -- cgit v1.2.3