summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTConsumer.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-07-25 22:39:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-07-25 22:39:30 +0000
commitc9809a9d688f0f1d26c4de026b65352073f13743 (patch)
tree874055f117efc8ec7ed4c7615d0f97360106bf11 /clang/lib/AST/ASTConsumer.cpp
parent074f9db2fd061103cf4cafd491d55615fa6b2cab (diff)
downloadbcm5719-llvm-c9809a9d688f0f1d26c4de026b65352073f13743.tar.gz
bcm5719-llvm-c9809a9d688f0f1d26c4de026b65352073f13743.zip
Remove unused ASTConsumer::HandleTopLevelDeclaration
llvm-svn: 54071
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