[cfe-dev] Clang-format ideas

Kim Gräsman kim.grasman at gmail.com
Sun Oct 13 11:43:08 PDT 2013


On Fri, Oct 11, 2013 at 9:02 PM, Daniel Jasper <djasper at google.com> wrote:
>
>> The namespace declaration style may be more work, so I'll see if I can
>> find some time to figure it out once I'm better acquainted with the
>> code base.
>
>
> I would guess that this change is much lower value. Usually you would use
> clang-format mostly within editors or on patches that you create and these
> will rarely contain the namespace declarations. If they do, it is a matter
> of hitting "J" a few times in vim ;-).

We're considering running clang-format in batch over our entire
codebase, so we're coming at this from a slightly different angle.

I'll see if I can come up with a concrete patch at some point, and
we'll see what the impact is like.

- Kim



More information about the cfe-dev mailing list