aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;