Use the AttributeSet when removing multiple attributes. Use Attribute::AttrKind
authorBill Wendling <isanbard@gmail.com>
Wed, 23 Jan 2013 00:45:55 +0000 (00:45 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 23 Jan 2013 00:45:55 +0000 (00:45 +0000)
commit430fa9bfb3aa13cd77b970c8994dfedd5fc38af5
treecf330b57e4a857725749479e06946222212e33bf
parentf8317679cb2dab9d06835e05bd5d69c0bd8f491f
Use the AttributeSet when removing multiple attributes. Use Attribute::AttrKind
when removing one attribute. This further encapsulates the use of the attributes.

llvm-svn: 173214
llvm/include/llvm/IR/Attributes.h
llvm/include/llvm/IR/Function.h
llvm/lib/IR/Attributes.cpp
llvm/lib/IR/Core.cpp
llvm/lib/IR/Function.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/IPO/FunctionAttrs.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp