[PATCH] D146162: Remove redirect header from module to prevent excessive warnings

Rick Mark via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 12:39:09 PDT 2023


rickmark created this revision.
Herald added a project: All.
rickmark requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This removes the redirect header from the module which emits warnings when module builds
occur.  This also breaks the seperation of Support and TargetParser modules.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146162

Files:
  llvm/include/llvm/module.modulemap


Index: llvm/include/llvm/module.modulemap
===================================================================
--- llvm/include/llvm/module.modulemap
+++ llvm/include/llvm/module.modulemap
@@ -420,6 +420,9 @@
     // Exclude this; it should only be used on Windows.
     exclude header "Support/Windows/WindowsSupport.h"
 
+    // Exclude this; it has been replaced by llvm/TargetParser/Host.h.
+    exclude header "Support/Host.h"
+
     // Exclude these; they are fundamentally non-modular.
     exclude header "Support/PluginLoader.h"
     exclude header "Support/Solaris/sys/regset.h"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146162.505594.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230315/e0624106/attachment.bin>


More information about the llvm-commits mailing list