Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.
authorBill Wendling <isanbard@gmail.com>
Mon, 21 Jan 2013 21:57:28 +0000 (21:57 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 21 Jan 2013 21:57:28 +0000 (21:57 +0000)
commitbd4ea16bf39033271255dfbcc8ffb636a7de26bb
tree1f7b638c81daf44cefb27e811c4c3f2003c0a633
parent9d86a4a3b636abc9871108d0ffecb990b824f3dd
Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.

This is more code to isolate the use of the Attribute class to that of just
holding one attribute instead of a collection of attributes.

llvm-svn: 173094
llvm/include/llvm/IR/Attributes.h
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp