[PATCH] D12921: clang-format: Support 'template<>' (no space).
Paul Hoad via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 03:17:07 PDT 2015
MyDeveloperDay added a comment.
> The point here that it this space is utterly irrelevant
So I totally take the point but if it doesn't matter then why does clang-format automatically add one to my "template<>" why not simply leave it alone?
> We never intended clang-format to provide control over every aspect of formatting
I know that when new people come along on an open source project they want to change the world, for that I apologize, we weren't here for the previous decisions, but maybe clang-format is turning into something that is different from what was originally intended, maybe it CAN become the code formatting tool for those teams out there that are not quite/can't do it the google way.
> We'd rather have it support a limited set of (important) style options really well
And that I understand, but for those of us whose style does not exactly meet one of the 5 what can WE do other than submit patches to give finer control.
I don't want to argue but I would like you (who seems to be the gatekeeper for clang-format) to consider.
http://reviews.llvm.org/D12921
More information about the cfe-commits
mailing list