summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTConsumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/ASTConsumer.cpp')
-rw-r--r--clang/lib/AST/ASTConsumer.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/AST/ASTConsumer.cpp b/clang/lib/AST/ASTConsumer.cpp
index 3f92990f360..bf6a0cb7613 100644
--- a/clang/lib/AST/ASTConsumer.cpp
+++ b/clang/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());
}
OpenPOWER on IntegriCloud