summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Lex/HeaderSearch.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-08 17:01:29 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-08 17:01:29 +0000
commit2537a3648334fc0a51a68f3ee443cba2db8074be (patch)
treea10236aa39e0f65ac7efd766a17313c6a100537b /clang/include/clang/Lex/HeaderSearch.h
parentecd8a94acfc744026beddc1819cc61412904c1ad (diff)
downloadbcm5719-llvm-2537a3648334fc0a51a68f3ee443cba2db8074be.tar.gz
bcm5719-llvm-2537a3648334fc0a51a68f3ee443cba2db8074be.zip
Keep track of import dependencies between submodules within the module
that's currently being built. This is important for supporting transitive dependencies ("export *" in the module map) completely. llvm-svn: 146156
Diffstat (limited to 'clang/include/clang/Lex/HeaderSearch.h')
-rw-r--r--clang/include/clang/Lex/HeaderSearch.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/clang/include/clang/Lex/HeaderSearch.h b/clang/include/clang/Lex/HeaderSearch.h
index fba3606f440..02f8c021208 100644
--- a/clang/include/clang/Lex/HeaderSearch.h
+++ b/clang/include/clang/Lex/HeaderSearch.h
@@ -135,9 +135,6 @@ class HeaderSearch {
/// \brief The path to the module cache.
std::string ModuleCachePath;
- /// \brief The name of the module we're building.
- std::string BuildingModule;
-
/// FileInfo - This contains all of the preprocessor-specific data about files
/// that are included. The vector is indexed by the FileEntry's UID.
///
@@ -216,11 +213,9 @@ public:
SystemDirIdx++;
}
- /// \brief Set the path to the module cache and the name of the module
- /// we're building
- void configureModules(StringRef CachePath, StringRef BuildingModule) {
+ /// \brief Set the path to the module cache.
+ void setModuleCachePath(StringRef CachePath) {
ModuleCachePath = CachePath;
- this->BuildingModule = BuildingModule;
}
/// \brief Retrieve the path to the module cache.
OpenPOWER on IntegriCloud