[PATCH] D12921: clang-format: Support 'template<>' (no space).

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 01:46:50 PDT 2015


The most important costs are: Maintenance and discoverability of options.

The point here that it this space is utterly irrelevant, it doesn't make a
readability difference ever. Most codebases are inconsistent about it
anyway and I haven't seen a style guide even talking about this.

We never intended clang-format to provide control over every aspect of
formatting. We'd rather have it support a limited set of (important) style
options really well.

This simply isn't worth it, not even the time arguing about it.

On Thu, Sep 17, 2015 at 9:37 AM, Paul Hoad <mydeveloperday at gmail.com> wrote:

> MyDeveloperDay added a comment.
>
> Oh and we might want to run clang-format by the guys at
> http://cppreference.com seems they don't like the space either!   just
> saying....
>
>
> http://reviews.llvm.org/D12921
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150917/ebd38f36/attachment-0001.html>


More information about the cfe-commits mailing list