diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2019-11-10 10:31:03 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2019-11-10 11:18:33 -0800 |
commit | 8e9e433a2af7c435923ba71ea7d75374408b0b32 (patch) | |
tree | f01bb1e2375b23427e9d3b6c0303e093ff5ae9c8 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 7874db75ef41f5c387f83e1d0bd16607721ddf89 (diff) | |
download | llvm-8e9e433a2af7c435923ba71ea7d75374408b0b32.zip llvm-8e9e433a2af7c435923ba71ea7d75374408b0b32.tar.gz llvm-8e9e433a2af7c435923ba71ea7d75374408b0b32.tar.bz2 |
clang/Modules: Remove unused parameter from ModuleManager::removeModules
The other paremeters appear to be sufficient to determine which modules
have just been loaded and need to be removed, so stop collecting and
sending in that set explicitly.
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
-rw-r--r-- | clang/lib/Serialization/ModuleManager.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Serialization/ModuleManager.cpp b/clang/lib/Serialization/ModuleManager.cpp index 4b9f20f..669ab90 100644 --- a/clang/lib/Serialization/ModuleManager.cpp +++ b/clang/lib/Serialization/ModuleManager.cpp @@ -219,10 +219,7 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type, return NewlyLoaded; } -void ModuleManager::removeModules( - ModuleIterator First, - llvm::SmallPtrSetImpl<ModuleFile *> &LoadedSuccessfully, - ModuleMap *modMap) { +void ModuleManager::removeModules(ModuleIterator First, ModuleMap *modMap) { auto Last = end(); if (First == Last) return; |