summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-04 18:45:34 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-04 18:45:34 +0000
commit84a61269370138b68ae2bcd6711a9ae8004fd77a (patch)
tree56976573791d1ab9165d1262829717c0f7876872
parentabe776a7949532ebb5df1099edf2eaab22d8bd2b (diff)
downloadllvm-84a61269370138b68ae2bcd6711a9ae8004fd77a.tar.gz
llvm-84a61269370138b68ae2bcd6711a9ae8004fd77a.tar.bz2
llvm-84a61269370138b68ae2bcd6711a9ae8004fd77a.tar.xz
Add missing includes/decls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143722 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetCallingConv.h5
-rw-r--r--include/llvm/Target/TargetOptions.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetCallingConv.h b/include/llvm/Target/TargetCallingConv.h
index 275957e015..3be18569f4 100644
--- a/include/llvm/Target/TargetCallingConv.h
+++ b/include/llvm/Target/TargetCallingConv.h
@@ -14,6 +14,11 @@
#ifndef LLVM_TARGET_TARGETCALLINGCONV_H
#define LLVM_TARGET_TARGETCALLINGCONV_H
+#include "llvm/CodeGen/ValueTypes.h"
+#include "llvm/Support/DataTypes.h"
+#include "llvm/Support/MathExtras.h"
+#include <string>
+
namespace llvm {
namespace ISD {
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index e07e8c1cea..36913413b7 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -17,6 +17,7 @@
namespace llvm {
class MachineFunction;
+ class StringRef;
// Possible float ABI settings. Used with FloatABIType in TargetOptions.h.
namespace FloatABI {