]> granicus.if.org Git - llvm/commitdiff
[Modules] Add textual headers for recently added .def files
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 29 Nov 2017 01:53:49 +0000 (01:53 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Wed, 29 Nov 2017 01:53:49 +0000 (01:53 +0000)
Keep module.modulemap up to date and get rid of -Wincomplete-umbrella warnings

rdar://problem/35711925

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319273 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/module.modulemap

index 3c94883e7d1a3c4ccfa3c2907908b0474fdfea36..382942be64a1edf6ab3b261aa798b41ca557a0c4 100644 (file)
@@ -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