aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-14 00:52:07 +0000
committerChris Lattner <sabre@nondot.org>2009-06-14 00:52:07 +0000
commitf6c2a2a3ff0533334d15c96c24b22b57e13d4dd9 (patch)
tree9f105331920314c58ececd9aa8678665d1802925
parent86df27bbdbb98c39ec2184695c0561209f91bedd (diff)
prune #includes, Builtins.h/cpp no longer depends on libast.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73317 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Builtins.h6
-rw-r--r--lib/AST/Builtins.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/AST/Builtins.h b/include/clang/AST/Builtins.h
index 007e8dea8d..e4cce371da 100644
--- a/include/clang/AST/Builtins.h
+++ b/include/clang/AST/Builtins.h
@@ -16,8 +16,10 @@
#define LLVM_CLANG_AST_BUILTINS_H
#include <cstring>
-#include <string>
-#include "llvm/ADT/SmallVector.h"
+
+namespace llvm {
+ template <typename T> class SmallVectorImpl;
+}
namespace clang {
class TargetInfo;
diff --git a/lib/AST/Builtins.cpp b/lib/AST/Builtins.cpp
index 36476ae355..bdf5dc4f0b 100644
--- a/lib/AST/Builtins.cpp
+++ b/lib/AST/Builtins.cpp
@@ -12,8 +12,6 @@
//===----------------------------------------------------------------------===//
#include "clang/AST/Builtins.h"
-#include "clang/AST/ASTContext.h"
-#include "clang/AST/Decl.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/TargetInfo.h"
using namespace clang;