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)
commit8246df61f6de716acf1f8c64fac3c19970a2c174
treeeea5feb78eb13d53687b1211b304c2388ef2f63c
parent4d79724e130e69e3ce6327680460f399c18cb7eb
Use the AttributeSet when removing multiple attributes. Use Attribute::AttrKind
when removing one attribute. This further encapsulates the use of the attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173214 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
include/llvm/IR/Function.h
lib/IR/Attributes.cpp
lib/IR/Core.cpp
lib/IR/Function.cpp
lib/IR/Instructions.cpp
lib/Transforms/IPO/FunctionAttrs.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/Instrumentation/MemorySanitizer.cpp