[llvm] r319273 - [Modules] Add textual headers for recently added .def files

Bruno Cardoso Lopes via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 17:53:50 PST 2017


Author: bruno
Date: Tue Nov 28 17:53:49 2017
New Revision: 319273

URL: http://llvm.org/viewvc/llvm-project?rev=319273&view=rev
Log:
[Modules] Add textual headers for recently added .def files

Keep module.modulemap up to date and get rid of -Wincomplete-umbrella warnings

rdar://problem/35711925

Modified:
    llvm/trunk/include/llvm/module.modulemap

Modified: llvm/trunk/include/llvm/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/module.modulemap?rev=319273&r1=319272&r2=319273&view=diff
==============================================================================
--- llvm/trunk/include/llvm/module.modulemap (original)
+++ llvm/trunk/include/llvm/module.modulemap Tue Nov 28 17:53:49 2017
@@ -25,6 +25,7 @@ module LLVM_Backend {
     exclude header "CodeGen/LinkAllCodegenComponents.h"
 
     // These are intended for (repeated) textual inclusion.
+    textual header "CodeGen/CommandFlags.def"
     textual header "CodeGen/DIEValue.def"
     textual header "CodeGen/RuntimeLibcalls.def"
     textual header "CodeGen/TargetOpcodes.def"
@@ -228,8 +229,7 @@ module LLVM_MC {
   umbrella "MC"
   module * { export * }
 
-  // Exclude this; it's fundamentally non-modular.
-  exclude header "MC/MCTargetOptionsCommandFlags.h"
+  textual header "MC/MCTargetOptionsCommandFlags.def"
 }
 
 // Used by llvm-tblgen




More information about the llvm-commits mailing list