blob: 0c69432014d4cb8a3b8ca293b80170aa6c52b2b6 [file] [log] [blame]
Ted Kremenek27cc3c22007-12-13 17:54:02 +00001//===--- TranslationUnit.cpp - Abstraction for Translation Units ----------===//
Ted Kremenek6f046da2007-12-05 21:36:08 +00002//
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 Kremenek6f046da2007-12-05 21:36:08 +00007//
8// FIXME: This should eventually be moved out of the driver, or replaced
9// with its eventual successor.
10//
11//===----------------------------------------------------------------------===//
12
Ted Kremenek3a0b28b2007-12-18 21:36:21 +000013#include "clang/AST/TranslationUnit.h"
Ted Kremenek6f046da2007-12-05 21:36:08 +000014
15#include "clang/Basic/TargetInfo.h"
16#include "clang/Basic/SourceManager.h"
17#include "clang/AST/AST.h"
18
19#include "llvm/Bitcode/Serialize.h"
20#include "llvm/Bitcode/Deserialize.h"
21#include "llvm/Support/MemoryBuffer.h"
22#include "llvm/System/Path.h"
Ted Kremenek6f046da2007-12-05 21:36:08 +000023
Ted Kremenekafdf8112008-05-20 00:43:19 +000024#include "llvm/ADT/OwningPtr.h"
25#include "llvm/ADT/DenseSet.h"
Ted Kremenek6f046da2007-12-05 21:36:08 +000026
Ted Kremenek6f046da2007-12-05 21:36:08 +000027using namespace clang;
28
Ted Kremenekab749372007-12-19 19:27:38 +000029
Sam Bishopfc8584c2008-04-03 14:20:28 +000030TranslationUnit::~TranslationUnit() {
Sam Bishop49492512008-04-03 05:35:20 +000031}