[modules] Remove dead code from Module for tracking macro import locations.

llvm-svn: 236376
This commit is contained in:
Richard Smith
2015-05-02 02:08:26 +00:00
parent 32dbd69ce2
commit 10434f307c
6 changed files with 11 additions and 20 deletions

View File

@@ -752,7 +752,7 @@ void Preprocessor::LexAfterModuleImport(Token &Result) {
if (getLangOpts().Modules) {
Imported = TheModuleLoader.loadModule(ModuleImportLoc,
ModuleImportPath,
Module::MacrosVisible,
Module::Hidden,
/*IsIncludeDirective=*/false);
if (Imported)
makeModuleVisible(Imported, ModuleImportLoc);