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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user