Change typeIncompatible to return an AttrBuilder instead of new-ing an AttributeSet.
[oota-llvm.git] / include / llvm / IR / Attributes.h
index a5084ed43268dd51dfca5c1d0ada741801a94afa..57573c4d49974ad20251328ff5953089677a7d19 100644 (file)
@@ -565,7 +565,7 @@ public:
 namespace AttributeFuncs {
 
 /// \brief Which attributes cannot be applied to a type.
-AttributeSet typeIncompatible(Type *Ty, uint64_t Index);
+AttrBuilder typeIncompatible(const Type *Ty);
 
 } // end AttributeFuncs namespace