================ @@ -30,15 +32,18 @@ void ImplementationInNamespaceCheck::check( return; ---------------- PiotrZSL wrote: this could be replaced with `decl(isExpansionInMainFile())` https://github.com/llvm/llvm-project/pull/66504