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