From 542c83c8b8fad31ca358d1280e064313ae07df5b Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Wed, 29 Nov 2017 01:53:49 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319273 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/module.modulemap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/module.modulemap b/include/llvm/module.modulemap index 3c94883e7d1..382942be64a 100644 --- a/include/llvm/module.modulemap +++ b/include/llvm/module.modulemap @@ -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 -- 2.50.1