De-constify pointers to Type since they can't be modified. NFC
[oota-llvm.git] / lib / IR / Attributes.cpp
index 546a98670a290956962021e940f4c971b172c080..0d89d127ed86e5052250b161bc5ce221c93ae2e8 100644 (file)
@@ -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())