diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-08-01 22:20:21 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-08-01 22:20:21 +0000 |
commit | e3dcce9700c6f7045774f46f66faa610081495a5 (patch) | |
tree | 10ddb2f805ad5ca46dc4279b77d6f34ef98c1564 /llvm/lib/IR/Attributes.cpp | |
parent | ede603057ebaa4db7bf034f78e96a8bb4b7fe8a5 (diff) | |
download | bcm5719-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.cpp | 2 |
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()) |