================ ---------------- Endilll wrote:
Test cases in this file feel quite similar to `inline-namespace-redeclarations.cpp`. I see you're testing declaration matching here, and the better way to do that would be to use `-verify` mode instead of AST dump. Redefinition diagnostic can directly cover structs, and indirectly — their enclosing namespace, because if declaration matching between enclosing namespaces doesn't happen, you won't get the expected redefinition diagnostics. https://github.com/llvm/llvm-project/pull/233862 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
