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)
commitc0e2a1f4575520fcf1b202c838250d2623e23cd2
treecd60385b64d0fc725f90fa818c7621543a8cee59
parentf71baa84eaca687c06dc44cc1a4349c8a344c48f
Use the AttributeSet when adding multiple attributes and an Attribute::AttrKind
when adding a single attribute to the function.

llvm-svn: 173210
llvm/include/llvm/IR/Function.h
llvm/lib/IR/Function.cpp
llvm/lib/Transforms/IPO/FunctionAttrs.cpp