diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-07-22 18:58:53 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-07-22 18:58:53 +0000 |
commit | e08a57824c78c98601860df12d4184acbf1c9de2 (patch) | |
tree | 50e8d0840af13b6d40f0e8bf8812ed9393c6a867 /include | |
parent | 0b926427670de6e0ed855ef93f220a3f51ed1eab (diff) | |
download | external_llvm-e08a57824c78c98601860df12d4184acbf1c9de2.zip external_llvm-e08a57824c78c98601860df12d4184acbf1c9de2.tar.gz external_llvm-e08a57824c78c98601860df12d4184acbf1c9de2.tar.bz2 |
Fix missing const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/IRBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/IRBuilder.h b/include/llvm/IR/IRBuilder.h index 40fffad..e396e71 100644 --- a/include/llvm/IR/IRBuilder.h +++ b/include/llvm/IR/IRBuilder.h @@ -271,7 +271,7 @@ public: } /// \brief Fetch the type representing a pointer to an integer value. - IntegerType* getIntPtrTy(DataLayout *DL, unsigned AddrSpace = 0) { + IntegerType* getIntPtrTy(const DataLayout *DL, unsigned AddrSpace = 0) { return DL->getIntPtrType(Context, AddrSpace); } |