| Ted Kremenek | 27cc3c2 | 2007-12-13 17:54:02 +0000 | [diff] [blame] | 1 | //===--- TranslationUnit.cpp - Abstraction for Translation Units ----------===// |
| Ted Kremenek | 6f046da | 2007-12-05 21:36:08 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| Chris Lattner | 959e5be | 2007-12-29 19:59:25 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| Ted Kremenek | 6f046da | 2007-12-05 21:36:08 +0000 | [diff] [blame] | 7 | // |
| 8 | // FIXME: This should eventually be moved out of the driver, or replaced |
| 9 | // with its eventual successor. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| Ted Kremenek | 3a0b28b | 2007-12-18 21:36:21 +0000 | [diff] [blame] | 13 | #include "clang/AST/TranslationUnit.h" |
| Ted Kremenek | 6f046da | 2007-12-05 21:36:08 +0000 | [diff] [blame] | 14 | |
| 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 Kremenek | 6f046da | 2007-12-05 21:36:08 +0000 | [diff] [blame] | 23 | |
| Ted Kremenek | afdf811 | 2008-05-20 00:43:19 +0000 | [diff] [blame] | 24 | #include "llvm/ADT/OwningPtr.h" |
| 25 | #include "llvm/ADT/DenseSet.h" |
| Ted Kremenek | 6f046da | 2007-12-05 21:36:08 +0000 | [diff] [blame] | 26 | |
| Ted Kremenek | 6f046da | 2007-12-05 21:36:08 +0000 | [diff] [blame] | 27 | using namespace clang; |
| 28 | |
| Ted Kremenek | ab74937 | 2007-12-19 19:27:38 +0000 | [diff] [blame] | 29 | |
| Sam Bishop | fc8584c | 2008-04-03 14:20:28 +0000 | [diff] [blame] | 30 | TranslationUnit::~TranslationUnit() { |
| Sam Bishop | 4949251 | 2008-04-03 05:35:20 +0000 | [diff] [blame] | 31 | } |