]> granicus.if.org Git - clang/commitdiff
improve compatibility with VC+, patch by John Thompson!
authorChris Lattner <sabre@nondot.org>
Wed, 8 Apr 2009 03:33:43 +0000 (03:33 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Apr 2009 03:33:43 +0000 (03:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68586 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclContextInternals.h
lib/AST/DeclBase.cpp

index 0aa50a1f98f90ff85fe76540d2505c08d29de4f2..74e83f17e65e43b8d5c7b158a8c1ee6d2a964b91 100644 (file)
@@ -19,6 +19,7 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/ADT/SmallVector.h"
+#include <functional>
 
 namespace clang {
 
index f098496f23dbb17f5e2f991caf3d21a1564508ba..45c5494d4cbf53f5df41f2a3d252167aa5fcdf05 100644 (file)
@@ -23,7 +23,6 @@
 #include "llvm/Support/raw_ostream.h"
 #include <algorithm>
 #include <cstdio>
-#include <functional>
 #include <vector>
 using namespace clang;