I am trying to enable clang-format for the first time in a codebase. We are already using clang-tidy to check for code smells, and it has started warning us on code like this:
namespace foo { namespace bar {
or
namespace foo {
namespace bar {
with the modernize-concat-nested-namespaces check. It wants to see
namespace foo::bar {
I was hopeful that running clang-format could fix this for me, but no dice. Is there a way to do this with clang-format?