aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-07-22 18:58:53 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-07-22 18:58:53 +0000
commite08a57824c78c98601860df12d4184acbf1c9de2 (patch)
tree50e8d0840af13b6d40f0e8bf8812ed9393c6a867 /include
parent0b926427670de6e0ed855ef93f220a3f51ed1eab (diff)
downloadexternal_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.h2
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);
}