Add a method to create an AttributeSet from an AttrBuilder.
authorBill Wendling <isanbard@gmail.com>
Sat, 5 Jan 2013 01:36:54 +0000 (01:36 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 5 Jan 2013 01:36:54 +0000 (01:36 +0000)
commit1bbd644301ed4d8a7efd4ceb15f71c56fa914f28
tree01f782ee5c5506a9b2f61bb5cc69e58f32a34a65
parent024328ea49e8321f358bd68bf6c077d5f5323413
Add a method to create an AttributeSet from an AttrBuilder.

The Attribute class is eventually going to represent one attribute. So we need
this class to create the set of attributes. Add some iterator methods to the
builder to access its internal bits in a nice way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171586 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
lib/IR/AttributeImpl.h
lib/IR/Attributes.cpp