Opens up the wonders of clang::Modules to tools - though they remain as experimental as before.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165002
91177308-0d34-0410-b5e6-
96231b3b80d8
/// \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() {