aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ASTConsumer.cpp
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-08-11 18:52:41 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-08-11 18:52:41 +0000
commit27372b4f1f402e95dd479ecf40c39ca71c15619f (patch)
tree94a9a3434fcf0b67836e5528395290dc5e8f344a /lib/AST/ASTConsumer.cpp
parent70141c2d11ba555ff5922d8b4a014be2f629e2ec (diff)
Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do with the breakage.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTConsumer.cpp')
-rw-r--r--lib/AST/ASTConsumer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/AST/ASTConsumer.cpp b/lib/AST/ASTConsumer.cpp
index f37cbdea54..04a084a06a 100644
--- a/lib/AST/ASTConsumer.cpp
+++ b/lib/AST/ASTConsumer.cpp
@@ -17,3 +17,6 @@ using namespace clang;
void ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) {}
+void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) {
+ HandleTopLevelDecl(D);
+}