summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2015-08-01 22:20:21 +0000
committerCraig Topper <craig.topper@gmail.com>2015-08-01 22:20:21 +0000
commite3dcce9700c6f7045774f46f66faa610081495a5 (patch)
tree10ddb2f805ad5ca46dc4279b77d6f34ef98c1564 /llvm/lib/IR/Attributes.cpp
parentede603057ebaa4db7bf034f78e96a8bb4b7fe8a5 (diff)
downloadbcm5719-llvm-e3dcce9700c6f7045774f46f66faa610081495a5.tar.gz
bcm5719-llvm-e3dcce9700c6f7045774f46f66faa610081495a5.zip
De-constify pointers to Type since they can't be modified. NFC
This was already done in most places a while ago. This just fixes the ones that crept in over time. llvm-svn: 243842
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index 546a98670a2..0d89d127ed8 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -1382,7 +1382,7 @@ AttrBuilder &AttrBuilder::addRawValue(uint64_t Val) {
//===----------------------------------------------------------------------===//
/// \brief Which attributes cannot be applied to a type.
-AttrBuilder AttributeFuncs::typeIncompatible(const Type *Ty) {
+AttrBuilder AttributeFuncs::typeIncompatible(Type *Ty) {
AttrBuilder Incompatible;
if (!Ty->isIntegerTy())
OpenPOWER on IntegriCloud