qiongsiwu wrote: > For `Wmodule-link-redeclaration` check, what happens if two different modules > have the same `link` declaration?
The check is within a module. It does not do any thing in the case when the same link decl shows up in different modules. https://github.com/llvm/llvm-project/pull/156377 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits