blob: db5dd44e2cef995bf49f181415b4bcb8c5e38c69 [file] [log] [blame]
Chris Lattnerddc135e2006-11-10 06:34:16 +00001//===--- 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"
16using namespace llvm;
17using namespace clang;
18
19ASTContext::ASTContext(Preprocessor &pp)
20 : PP(pp), Target(pp.getTargetInfo()) {
21}
22