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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to