[PATCH] D22505: clang-format Access Modifier Use Normal Indent
Daniel Jasper via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 2 05:47:42 PDT 2016
djasper added a comment.
I generally agree. Note, however, that the mentioned style guide doesn't actually specify this. All it says is "The public, protected, and private keywords should be indented inside the class with the function declarations indented as well."
So I guess,
class C {
int v1;
private:
int v2;
};
Would actually also be valid according to the style guide.
https://reviews.llvm.org/D22505
More information about the cfe-commits
mailing list