Currently this check will complain when there're preprocessor directives
like macro definitions between the namespaces, e.g.
namespace a { // warns, but it shouldn't #define FOO namespace b { } // namespace b } // namespace a
Fixes https://github.com/llvm/llvm-project/issues/60035 partly
Is CHECK-MESSAGES-DAG needed here, why does it fail if this is omitted?