diff options
| -rw-r--r-- | clang/lib/Lex/PPLexerChange.cpp | 6 |
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(); |

