2007-11-30 02:05:17 +03:00
|
|
|
//===--- ASTConsumer.cpp - Abstract interface for reading ASTs --*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 22:59:25 +03:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-11-30 02:05:17 +03:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file defines the ASTConsumer class.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "clang/AST/ASTConsumer.h"
|
|
|
|
#include "clang/AST/Decl.h"
|
2008-06-01 00:11:04 +04:00
|
|
|
#include "clang/AST/TranslationUnit.h"
|
|
|
|
|
2007-11-30 02:05:17 +03:00
|
|
|
using namespace clang;
|
|
|
|
|
2008-02-06 05:01:47 +03:00
|
|
|
ASTConsumer::~ASTConsumer() {}
|
|
|
|
|
2008-06-01 00:11:04 +04:00
|
|
|
void ASTConsumer::InitializeTU(TranslationUnit& TU) {
|
|
|
|
Initialize(TU.getContext());
|
|
|
|
}
|