[PATCH] D32480: clang-format: Add CompactNamespaces option

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 30 04:38:49 PDT 2017


klimek added a comment.

I'm less concerned about everything suddenly re-indenting when you change code - if you use any kind of namespace indentation, that's what will happen now and then (and is why many style guides do not indent in namespaces).

For what it's worth, I'd

1. vote for only merging in cases where both start and end can be merged
2. vote for merge namespaces counting as a single namespace decl


https://reviews.llvm.org/D32480





More information about the cfe-commits mailing list