summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Lex/PPLexerChange.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Lex/PPLexerChange.cpp b/clang/lib/Lex/PPLexerChange.cpp
index 6cffbc39855..b53c40ec5c8 100644
--- a/clang/lib/Lex/PPLexerChange.cpp
+++ b/clang/lib/Lex/PPLexerChange.cpp
@@ -665,12 +665,6 @@ void Preprocessor::LeaveSubmodule() {
// Restore the old macro state.
Macro.second = State;
-
- // If our submodule defined a macro, import it.
- // FIXME: Do this lazily.
- if (MM)
- appendMacroDirective(II,
- AllocateImportedMacroDirective(MM, Info.ImportLoc));
}
BuildingSubmoduleStack.pop_back();
OpenPOWER on IntegriCloud