================ @@ -915,8 +915,10 @@ def err_mmap_expected_attribute : Error<"expected an attribute name">; def warn_mmap_link_redeclaration : Warning<"redeclaration of link library '%0'">, InGroup<DiagGroup<"module-link-redeclaration">>, DefaultError; def note_mmap_prev_link_declaration : Note<"previously declared here">; -def err_mmap_submodule_link_decl - : Error<"link declaration is not allowed in submodules">; +def warn_mmap_submodule_link_decl + : Warning<"link declaration is not allowed in submodules">, ---------------- qiongsiwu wrote:
The error check has been removed. https://github.com/llvm/llvm-project/pull/156377 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
