Use the AttributeSet's iterators.
authorBill Wendling <isanbard@gmail.com>
Sat, 2 Feb 2013 00:42:06 +0000 (00:42 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 2 Feb 2013 00:42:06 +0000 (00:42 +0000)
commitbdcbccc710a0528b4abce947782fd502bafb848d
treed5b4afd39f42249dc0f4bc05a66c52b8501441f2
parentfb10b256aa018a1ef59a18f7c9634bd72a95e6e3
Use the AttributeSet's iterators.

Use the AttributeSet's iterators in AttrBuilder::hasAttributes() when
determining of the intersection of the AttrBuilder and AttributeSet is non-null.

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