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).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148082 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/ModuleMap.cpp b/lib/Lex/ModuleMap.cpp
index 55fa508..b74a74d 100644
--- a/lib/Lex/ModuleMap.cpp
+++ b/lib/Lex/ModuleMap.cpp
@@ -350,6 +350,7 @@
                                          /*IsFramework=*/false, 
                                          /*IsExplicit=*/true).first;
     setUmbrellaDir(Private, Dir);
+    Private->addRequirement("private", LangOpts);
     Private->InferSubmodules = true;
     Private->InferExplicitSubmodules = true;
     Private->InferExportWildcard = true;