Originally filed at https://bugs.chromium.org/p/chromium/issues/detail?id=1184570.
Example:
$ cat a.cpp #define M(x) namespace M(ns) { void test() {} } $ clang-format a.cpp #define M(x) namespace M(ns) { void test() {} } // namespace )
When the name of a namespace is a macro that takes arguments,
- It fixed the indentation.
- It fixed the namespace end comments.
To make the loop simpler and more efficient.