Chris Lattner | ddc135e | 2006-11-10 06:34:16 +0000 | [diff] [blame^] | 1 | //===--- ASTContext.cpp - Context to hold long-lived AST nodes ------------===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file was developed by Chris Lattner and is distributed under |
| 6 | // the University of Illinois Open Source License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file implements the ASTContext interface. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #include "clang/AST/ASTContext.h" |
| 15 | #include "clang/Lex/Preprocessor.h" |
| 16 | using namespace llvm; |
| 17 | using namespace clang; |
| 18 | |
| 19 | ASTContext::ASTContext(Preprocessor &pp) |
| 20 | : PP(pp), Target(pp.getTargetInfo()) { |
| 21 | } |
| 22 | |