2007-11-29 23:05:17 +00:00
|
|
|
//===--- ASTConsumer.cpp - Abstract interface for reading ASTs --*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 19:59:25 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-11-29 23:05:17 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the ASTConsumer class.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "clang/AST/ASTConsumer.h"
|
2009-03-29 16:50:03 +00:00
|
|
|
#include "clang/AST/DeclGroup.h"
|
2007-11-29 23:05:17 +00:00
|
|
|
using namespace clang;
|
|
|
|
|
2009-03-29 16:50:03 +00:00
|
|
|
void ASTConsumer::HandleTopLevelDecl(DeclGroupRef D) {}
|
|
|
|
|
2010-08-11 18:52:41 +00:00
|
|
|
void ASTConsumer::HandleInterestingDecl(DeclGroupRef D) {
|
|
|
|
HandleTopLevelDecl(D);
|
|
|
|
}
|