Use the AttributeSet when adding multiple attributes and an Attribute::AttrKind
authorBill Wendling <isanbard@gmail.com>
Wed, 23 Jan 2013 00:20:53 +0000 (00:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 23 Jan 2013 00:20:53 +0000 (00:20 +0000)
commit70d2ca0725b05a2d372e4dc3336e8ea350093e98
tree2249ebb9f544a38c5ed721ded4957a66bb1b5917
parentbdd4e1311830bea92c8b8c09f0644cba15421241
Use the AttributeSet when adding multiple attributes and an Attribute::AttrKind
when adding a single attribute to the function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173210 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Function.h
lib/IR/Function.cpp
lib/Transforms/IPO/FunctionAttrs.cpp