Introduce the notion of excluded headers into the module map
description. Previously, one could emulate this behavior by placing the header in an always-unavailable submodule, but Argyrios guilted me into expressing this idea properly. llvm-svn: 165921
This commit is contained in:
@@ -219,6 +219,13 @@ void Module::print(llvm::raw_ostream &OS, unsigned Indent) const {
|
||||
OS.write_escaped(Headers[I]->getName());
|
||||
OS << "\"\n";
|
||||
}
|
||||
|
||||
for (unsigned I = 0, N = ExcludedHeaders.size(); I != N; ++I) {
|
||||
OS.indent(Indent + 2);
|
||||
OS << "exclude header \"";
|
||||
OS.write_escaped(ExcludedHeaders[I]->getName());
|
||||
OS << "\"\n";
|
||||
}
|
||||
|
||||
for (submodule_const_iterator MI = submodule_begin(), MIEnd = submodule_end();
|
||||
MI != MIEnd; ++MI)
|
||||
|
||||
Reference in New Issue
Block a user