[PATCH] D22505: clang-format Access Modifier Use Normal Indent

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 12:02:33 PDT 2016

klimek added a comment.

In https://reviews.llvm.org/D22505#503472, @LokiAstari wrote:

> I don't have a problem changing it so the default behaviour is:
>   class C {
>       int v1;
>     private:
>       int v2;
>   };
> But I would like to retain the functionality that if there is no explicit public/private/protected that it follows the original.
>  But if there is huge objection to that I am not going to fight over this one (I can live with the indention above).

That should already be doable with a negative offset today, right?


More information about the cfe-commits mailing list