diff options
author | Eric Christopher <echristo@apple.com> | 2010-03-05 22:21:58 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-03-05 22:21:58 +0000 |
commit | e2381787aa98b995daf56f1277b169aabba9cd46 (patch) | |
tree | bb48b9ae77ffa97829e6af1e54cc546e1fd88701 /include/llvm | |
parent | 53e000bac319a25f7c13ec8b7b413418fba5ef20 (diff) | |
download | external_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.h | 4 |
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; |