aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/ASTConsumer.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/AST/ASTConsumer.cpp b/lib/AST/ASTConsumer.cpp
index 3f92990f36..bf6a0cb761 100644
--- a/lib/AST/ASTConsumer.cpp
+++ b/lib/AST/ASTConsumer.cpp
@@ -19,16 +19,6 @@ using namespace clang;
ASTConsumer::~ASTConsumer() {}
-void ASTConsumer::HandleTopLevelDeclaration(Decl* d) {
- if (ScopedDecl* sd = dyn_cast<ScopedDecl>(d))
- while (sd) {
- HandleTopLevelDecl(sd);
- sd = sd->getNextDeclarator();
- }
- else
- HandleTopLevelDecl(d);
-}
-
void ASTConsumer::InitializeTU(TranslationUnit& TU) {
Initialize(TU.getContext());
}