Result);
}
}
-
- // Look for private headers.
- llvm::SmallString<128> PrivateHeadersDirName(FrameworkDir->getName());
- llvm::sys::path::append(PrivateHeadersDirName, "PrivateHeaders");
- if (const DirectoryEntry *Dir = FileMgr.getDirectory(PrivateHeadersDirName)) {
- Module *Private = findOrCreateModule("Private", Result,
- /*IsFramework=*/false,
- /*IsExplicit=*/true).first;
- setUmbrellaDir(Private, Dir);
- Private->InferSubmodules = true;
- Private->InferExplicitSubmodules = true;
- Private->InferExportWildcard = true;
- }
-
+
return Result;
}
int getDependsOnModulePrivate() { return depends_on_module_private; }
-#include <Module/ModulePrivate.h> // expected-warning{{treating #include as an import of module 'Module.Private.ModulePrivate'}}
+#include <Module/ModulePrivate.h> // includes the header
int getModulePrivate() { return module_private; }