Fix a latent bug in MinimalActions (created by a recent name change).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42829 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/PrintParserCallbacks.cpp b/Driver/PrintParserCallbacks.cpp
index e3bfdf5..d7deb43 100644
--- a/Driver/PrintParserCallbacks.cpp
+++ b/Driver/PrintParserCallbacks.cpp
@@ -38,13 +38,13 @@
return MinimalAction::ActOnDeclarator(S, D, LastInGroup);
}
- /// PopScope - This callback is called immediately before the specified scope
- /// is popped and deleted.
- virtual void PopScope(SourceLocation Loc, Scope *S) {
- std::cout << "PopScope\n";
+ /// ActOnPopScope - This callback is called immediately before the specified
+ /// scope is popped and deleted.
+ virtual void ActOnPopScope(SourceLocation Loc, Scope *S) {
+ std::cout << "ActOnPopScope\n";
// Pass up to EmptyActions so that the symbol table is maintained right.
- MinimalAction::PopScope(Loc, S);
+ MinimalAction::ActOnPopScope(Loc, S);
}
};
}