forked from OSchip/llvm-project
Enable programmatic provisioning of virtual module.map files (instead of writing out actual module.map files).
Opens up the wonders of clang::Modules to tools - though they remain as experimental as before. llvm-svn: 165002
This commit is contained in:
parent
d9a25b3c17
commit
2bd39fd2de
|
@ -281,6 +281,11 @@ public:
|
|||
|
||||
/// \brief Retrieve the path to the module cache.
|
||||
StringRef getModuleCachePath() const { return ModuleCachePath; }
|
||||
|
||||
/// \brief Consider modules when including files from this directory.
|
||||
void setDirectoryHasModuleMap(const DirectoryEntry* Dir) {
|
||||
DirectoryHasModuleMap[Dir] = true;
|
||||
}
|
||||
|
||||
/// \brief Forget everything we know about headers so far.
|
||||
void ClearFileInfo() {
|
||||
|
|
Loading…
Reference in New Issue