From 2555e41b4e933c01bb7fe651ad8520b35d9eeaca Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Tue, 24 Oct 2017 06:18:52 +0000 Subject: [PATCH] [Modules] Add module for Config/llvm-config.h Besides all the goodness from modularizing a header, this is necessary to compile ToT with modules with the clang host compiler from Xcode 9 in macOS 10.13, which our bots don't use yet. rdar://problem/35038151 llvm-svn: 316414 --- llvm/include/llvm/module.modulemap.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/include/llvm/module.modulemap.build b/llvm/include/llvm/module.modulemap.build index 0f6f82af6e12..162a262a00a7 100644 --- a/llvm/include/llvm/module.modulemap.build +++ b/llvm/include/llvm/module.modulemap.build @@ -7,3 +7,7 @@ module LLVM_Config_ABI_Breaking { header "Config/abi-breaking.h" export * } +module LLVM_Config_Config { + header "Config/llvm-config.h" + export * +}