aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-08 03:33:43 +0000
committerChris Lattner <sabre@nondot.org>2009-04-08 03:33:43 +0000
commita27e5feaab38b99a0e4473247dbd157f015ea4d1 (patch)
treef2257229c1b4bde2814f95f6b0a5de2dd3f932f6
parent899b3de7bc32434fc406f35255cc828ba8372b3d (diff)
improve compatibility with VC+, patch by John Thompson!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68586 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/DeclContextInternals.h1
-rw-r--r--lib/AST/DeclBase.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/DeclContextInternals.h b/include/clang/AST/DeclContextInternals.h
index 0aa50a1f98..74e83f17e6 100644
--- a/include/clang/AST/DeclContextInternals.h
+++ b/include/clang/AST/DeclContextInternals.h
@@ -19,6 +19,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/SmallVector.h"
+#include <functional>
namespace clang {
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp
index f098496f23..45c5494d4c 100644
--- a/lib/AST/DeclBase.cpp
+++ b/lib/AST/DeclBase.cpp
@@ -23,7 +23,6 @@
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstdio>
-#include <functional>
#include <vector>
using namespace clang;