Make getSlotAttributes return an AttributeSet instead of a wrapper list
authorReid Kleckner <rnk@google.com>
Mon, 24 Apr 2017 22:25:02 +0000 (22:25 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 24 Apr 2017 22:25:02 +0000 (22:25 +0000)
commit63b26f0eeadc411ce877bfe340f5fac128397f5f
tree659d28f96c53cde43a3d37ab34f1d5071de3928a
parent729377f06303485eea7c2e031af4eb7f13c0cb96
Make getSlotAttributes return an AttributeSet instead of a wrapper list

Remove the temporary, poorly named getSlotSet method which did the same
thing. Also remove getSlotNode, which is a hold-over from when we were
dealing with AttributeSetNode* instead of AttributeSet.

llvm-svn: 301267
llvm/include/llvm/IR/Attributes.h
llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp