summaryrefslogtreecommitdiffstats
path: root/clang/AST/ASTConsumer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-06 02:01:47 +0000
committerChris Lattner <sabre@nondot.org>2008-02-06 02:01:47 +0000
commitadf1f51fc592ea4eeea759abc8263a4cfbe28568 (patch)
treebf0dee192f9edfcc90103ac47b2d9e8be81f9765 /clang/AST/ASTConsumer.cpp
parentb5eda6253b28dd2669bda220b455d05c5e99796a (diff)
downloadbcm5719-llvm-adf1f51fc592ea4eeea759abc8263a4cfbe28568.tar.gz
bcm5719-llvm-adf1f51fc592ea4eeea759abc8263a4cfbe28568.zip
move the codegen ASTConsumer out of the driver into libcodegen,
eliminating a bunch of forwarding methods and generally simplifying things. llvm-svn: 46792
Diffstat (limited to 'clang/AST/ASTConsumer.cpp')
-rw-r--r--clang/AST/ASTConsumer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/AST/ASTConsumer.cpp b/clang/AST/ASTConsumer.cpp
index dd839752eec..b3d12710927 100644
--- a/clang/AST/ASTConsumer.cpp
+++ b/clang/AST/ASTConsumer.cpp
@@ -13,9 +13,10 @@
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/Decl.h"
-
using namespace clang;
+ASTConsumer::~ASTConsumer() {}
+
void ASTConsumer::HandleTopLevelDeclaration(Decl* d) {
if (ScopedDecl* sd = dyn_cast<ScopedDecl>(d))
while (sd) {
OpenPOWER on IntegriCloud