blob: bf6a0cb761373a0350c6c4df514b4701dcec45fb [file] [log] [blame]
Ted Kremenek3663e0c2007-11-29 23:05:17 +00001//===--- ASTConsumer.cpp - Abstract interface for reading ASTs --*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner959e5be2007-12-29 19:59:25 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Ted Kremenek3663e0c2007-11-29 23:05:17 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file defines the ASTConsumer class.
11//
12//===----------------------------------------------------------------------===//
13
14#include "clang/AST/ASTConsumer.h"
15#include "clang/AST/Decl.h"
Ted Kremenek79b50cb2008-05-31 20:11:04 +000016#include "clang/AST/TranslationUnit.h"
17
Ted Kremenek3663e0c2007-11-29 23:05:17 +000018using namespace clang;
19
Chris Lattnerf5e9db02008-02-06 02:01:47 +000020ASTConsumer::~ASTConsumer() {}
21
Ted Kremenek79b50cb2008-05-31 20:11:04 +000022void ASTConsumer::InitializeTU(TranslationUnit& TU) {
23 Initialize(TU.getContext());
24}