]> granicus.if.org Git - clang/commitdiff
prune #includes, Builtins.h/cpp no longer depends on libast.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Jun 2009 00:52:07 +0000 (00:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Jun 2009 00:52:07 +0000 (00:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73317 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Builtins.h
lib/AST/Builtins.cpp

index 007e8dea8d1d8767ba507d60680d544558702334..e4cce371da6f7e4a9a73c8a000b9cf12846590e2 100644 (file)
 #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;
index 36476ae35576a7a4b47d54e4bb154cfd551726af..bdf5dc4f0bd81282d1cc6cb7725adafc728b3bea 100644 (file)
@@ -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;