More encapsulation work.
authorBill Wendling <isanbard@gmail.com>
Tue, 22 Jan 2013 21:15:51 +0000 (21:15 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 22 Jan 2013 21:15:51 +0000 (21:15 +0000)
commit09175b39f2e9c81fe07efc0187e8b5b372c9796e
treebc0c984f737e8525fd15114a7dfe8d06a5f47ba5
parent0017d8a4691e99ba1e15c351938f023ede03115e
More encapsulation work.

Use the AttributeSet when we're talking about more than one attribute. Add a
function that adds a single attribute. No functionality change intended.

llvm-svn: 173196
llvm/include/llvm/IR/Attributes.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/PruneEH.cpp
llvm/lib/Transforms/Scalar/ObjCARC.cpp