forked from OSchip/llvm-project
When inferring a module map for a framework, add the 'private'
requirement to headers under PrivateHeaders. We don't want to build them as part of the module (yet). llvm-svn: 148082
This commit is contained in:
parent
cb6d4ee793
commit
da4fda7364
|
@ -350,6 +350,7 @@ ModuleMap::inferFrameworkModule(StringRef ModuleName,
|
|||
/*IsFramework=*/false,
|
||||
/*IsExplicit=*/true).first;
|
||||
setUmbrellaDir(Private, Dir);
|
||||
Private->addRequirement("private", LangOpts);
|
||||
Private->InferSubmodules = true;
|
||||
Private->InferExplicitSubmodules = true;
|
||||
Private->InferExportWildcard = true;
|
||||
|
|
Loading…
Reference in New Issue