aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-05-02 02:08:26 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-05-02 02:08:26 +0000
commit10434f307cda8270e65687bb35ed65ca70924463 (patch)
tree09435b44fcdac5fa38be254826bdf4dd32f35a91 /clang/lib/Lex/Preprocessor.cpp
parent32dbd69ce2f89932654000e45f038c01f5754664 (diff)
downloadllvm-10434f307cda8270e65687bb35ed65ca70924463.zip
llvm-10434f307cda8270e65687bb35ed65ca70924463.tar.gz
llvm-10434f307cda8270e65687bb35ed65ca70924463.tar.bz2
[modules] Remove dead code from Module for tracking macro import locations.
llvm-svn: 236376
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index 1251e982..21dccd1 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -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);