aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-03-05 22:21:58 +0000
committerEric Christopher <echristo@apple.com>2010-03-05 22:21:58 +0000
commite2381787aa98b995daf56f1277b169aabba9cd46 (patch)
treebb48b9ae77ffa97829e6af1e54cc546e1fd88701 /include/llvm
parent53e000bac319a25f7c13ec8b7b413418fba5ef20 (diff)
downloadexternal_llvm-e2381787aa98b995daf56f1277b169aabba9cd46.zip
external_llvm-e2381787aa98b995daf56f1277b169aabba9cd46.tar.gz
external_llvm-e2381787aa98b995daf56f1277b169aabba9cd46.tar.bz2
Add support for an i8* type accessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Support/IRBuilder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h
index c8aef9c..1f4e598 100644
--- a/include/llvm/Support/IRBuilder.h
+++ b/include/llvm/Support/IRBuilder.h
@@ -143,6 +143,10 @@ public:
return Type::getVoidTy(Context);
}
+ const Type *getInt8PtrTy() {
+ return Type::getInt8PtrTy(Context);
+ }
+
/// getCurrentFunctionReturnType - Get the return type of the current function
/// that we're emitting into.
const Type *getCurrentFunctionReturnType() const;