llvm-project/llvm/include/module.modulemap.build
Volodymyr Sapsai 24f36a215b [Modules] Move modulemaps to header search directories. NFC intended.
In code we use `#include "llvm/Lib/Header.h"` which is located in
"llvm/include/llvm/Lib/Header.h", so we use "llvm/include/" as a header
search path. We should put modulemaps in the same directory and
shouldn't rely on clang to search in immediate subdirectories.

rdar://106677321

Differential Revision: https://reviews.llvm.org/D148776
2023-05-03 13:07:47 -07:00

14 lines
316 B
Plaintext

// This is copied into the build area for a $src != $build compilation.
module LLVM_Support_DataTypes {
header "llvm/Support/DataTypes.h"
export *
}
module LLVM_Config_ABI_Breaking {
header "llvm/Config/abi-breaking.h"
export *
}
module LLVM_Config_Config {
header "llvm/Config/llvm-config.h"
export *
}