summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CodeGenTypes.h
diff options
context:
space:
mode:
authorMark Lacey <mark.lacey@apple.com>2013-10-30 23:40:28 +0000
committerMark Lacey <mark.lacey@apple.com>2013-10-30 23:40:28 +0000
commitcdd7a96a8ee9664873492daf05e1db5e42dcf976 (patch)
tree85109e99638560994243b6c4a76b0d7b8487848f /lib/CodeGen/CodeGenTypes.h
parent8b54999a831bb195c08541ca995ef0505c96193f (diff)
Fix Windows build by including CGFunctionInfo.h.
CodeGenTypes.h instantiates llvm::FoldingSet<> with CGFunctionInfo, and VC++ doesn't like the static_cast from FoldingSetImpl::Node* to CGFunctionInfo* since it hasn't seen the definition of CGFunctionInfo and that it inherits from FoldingSetImpl::Node. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193722 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r--lib/CodeGen/CodeGenTypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h
index 90cfcfdeab..94ca9e21e5 100644
--- a/lib/CodeGen/CodeGenTypes.h
+++ b/lib/CodeGen/CodeGenTypes.h
@@ -16,6 +16,7 @@
#include "CGCall.h"
#include "clang/AST/GlobalDecl.h"
+#include "clang/CodeGen/CGFunctionInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/IR/Module.h"
#include <vector>