diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-02 00:42:06 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-02 00:42:06 +0000 |
commit | bdcbccc710a0528b4abce947782fd502bafb848d (patch) | |
tree | d5b4afd39f42249dc0f4bc05a66c52b8501441f2 /lib/IR/AttributeImpl.h | |
parent | fb10b256aa018a1ef59a18f7c9634bd72a95e6e3 (diff) |
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
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r-- | lib/IR/AttributeImpl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h index 66001f73a0..bf87562dd6 100644 --- a/lib/IR/AttributeImpl.h +++ b/lib/IR/AttributeImpl.h @@ -153,7 +153,6 @@ public: /// \p Slot is an index into the AttrNodes list, not the index of the return / /// parameter/ function which the attributes apply to. AttributeSet getSlotAttributes(unsigned Slot) const { - // FIXME: This needs to use AttrNodes instead. return AttributeSet::get(Context, AttrNodes[Slot]); } |