diff options
| author | Daniel Jasper <djasper@google.com> | 2013-04-01 17:13:26 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-04-01 17:13:26 +0000 |
| commit | 6e42b1eb8baf5305d4561685dfcbb11f3ac0a858 (patch) | |
| tree | ef6161871db15940ecbac435931754ce41befdff /clang/lib/Format/Format.cpp | |
| parent | 39caf9f5ec4d0e875106677d9b0a9ad4c154a15e (diff) | |
| download | bcm5719-llvm-6e42b1eb8baf5305d4561685dfcbb11f3ac0a858.tar.gz bcm5719-llvm-6e42b1eb8baf5305d4561685dfcbb11f3ac0a858.zip | |
Improve formatting of function types.
Before: void * (*a)(int *, SomeType *);
After: void *(*a)(int *, SomeType *);
llvm-svn: 178474
Diffstat (limited to 'clang/lib/Format/Format.cpp')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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 || |

