aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2009-05-11 11:13:47 +0000
committerJay Foad <jay.foad@gmail.com>2009-05-11 11:13:47 +0000
commit7524b5906267e8ea8322c2ef4334f6e3bf0e6d24 (patch)
tree31ab61a4b67b545855484039f6ff90b254216efe /include/llvm
parente0b4b0e436d50d295de2ce6cf602dadc8c853606 (diff)
downloadexternal_llvm-7524b5906267e8ea8322c2ef4334f6e3bf0e6d24.zip
external_llvm-7524b5906267e8ea8322c2ef4334f6e3bf0e6d24.tar.gz
external_llvm-7524b5906267e8ea8322c2ef4334f6e3bf0e6d24.tar.bz2
Change TargetData::getIntPtrType() to return an IntegerType instead of
just a Type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/TargetData.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h
index 71236c0..9c8b1d3 100644
--- a/include/llvm/Target/TargetData.h
+++ b/include/llvm/Target/TargetData.h
@@ -23,13 +23,12 @@
#include "llvm/Pass.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/ADT/SmallVector.h"
+#include "llvm/DerivedTypes.h"
#include <string>
namespace llvm {
class Value;
-class Type;
-class StructType;
class StructLayout;
class GlobalVariable;
@@ -228,7 +227,7 @@ public:
/// getIntPtrType - Return an unsigned integer type that is the same size or
/// greater to the host pointer size.
///
- const Type *getIntPtrType() const;
+ const IntegerType *getIntPtrType() const;
/// getIndexedOffset - return the offset from the beginning of the type for
/// the specified indices. This is used to implement getelementptr.