Typz added a comment.

Just to be clear: as it is, the patch does not implement what you describe, 
both on the 'indent' side (as expected, we are discussing it), but also on the 
"merging" of braces side. Consecutive namespace opening are merged on one side; 
and consecutive namespace closing are merged on the other side; but there is no 
relation between the two.

What this means is that at the moment your exemple would be formatted (without 
indent) like this:

  namespace A { namespace B {
  int i;
  namespace C {
  int j;
  }}} // namespace A::B::C


https://reviews.llvm.org/D32480



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

Reply via email to