diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-11 00:51:27 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-11 00:51:27 +0000 |
commit | 4145228b758892afd3545835a4caaea722f20510 (patch) | |
tree | 3c85446dbb86f6f65a4b6dd945fca7d825a1e826 /lib/Serialization/ASTReader.cpp | |
parent | 7097be90d3549c30438b7a94b35577003d0a434f (diff) |
Remove the ASTDeserializationListener's MacroVisible() callback, which
is no longer necessary, as well as the little bit of infrastructure in
the AST writer that used it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTReader.cpp')
-rw-r--r-- | lib/Serialization/ASTReader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Serialization/ASTReader.cpp b/lib/Serialization/ASTReader.cpp index f23c0992af..861d99ee64 100644 --- a/lib/Serialization/ASTReader.cpp +++ b/lib/Serialization/ASTReader.cpp @@ -2616,8 +2616,6 @@ void ASTReader::makeNamesVisible(const HiddenNames &Names) { Macro.second->setHidden(!Macro.second->isPublic()); if (Macro.second->isDefined()) { PP.makeLoadedMacroInfoVisible(Macro.first, Macro.second); - if (DeserializationListener) - DeserializationListener->MacroVisible(Macro.first); } } } |