Files
llvm/clang/test/Modules/Inputs/submodules/module.map
Ben Langmuir 993055f860 Fix a hole with nested unavailable submodules from r206664
If a module doesn't meet a requirement, neither do its submodules. If we
don't propogate that, we might think it's an error to be missing a
header in one of those submodules.

llvm-svn: 206673
2014-04-18 23:51:00 +00:00

27 lines
643 B
Plaintext

module std {
module vector { header "vector.h" }
module type_traits { header "type_traits.h" }
explicit module hash_map { header "hash_map.h" }
}
module import_self {
module a { header "import-self-a.h" }
module b { header "import-self-b.h" export * }
module c { header "import-self-c.h" }
module d { header "import-self-d.h" }
}
module missing_headers {
module missing { header "missing.h" }
module not_missing { header "not_missing.h" }
}
module missing_unavailable_headers {
module missing {
requires !objc
header "missing.h"
module also_missing { header "also_missing.h" }
}
module not_missing { }
}