From 0f696bb57e73872502f7e7175bf89b23410792df Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 12 May 2015 21:49:03 +0000 Subject: [PATCH] Add missing #include and forward decl, found by modules build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237195 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/WinEHFuncInfo.h | 2 +- include/llvm/Target/TargetCallingConv.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/WinEHFuncInfo.h b/include/llvm/CodeGen/WinEHFuncInfo.h index 904e01c448a..6a9b82f9518 100644 --- a/include/llvm/CodeGen/WinEHFuncInfo.h +++ b/include/llvm/CodeGen/WinEHFuncInfo.h @@ -22,7 +22,7 @@ namespace llvm { class BasicBlock; class Constant; class Function; -class GlobalValue; +class GlobalVariable; class IntrinsicInst; class LandingPadInst; class MCSymbol; diff --git a/include/llvm/Target/TargetCallingConv.h b/include/llvm/Target/TargetCallingConv.h index 9071bfeec7e..9d4e7a04d90 100644 --- a/include/llvm/Target/TargetCallingConv.h +++ b/include/llvm/Target/TargetCallingConv.h @@ -18,6 +18,7 @@ #include "llvm/Support/DataTypes.h" #include "llvm/Support/MathExtras.h" #include +#include namespace llvm {