Add a 'StringRef' version of hasAttribute.
authorBill Wendling <isanbard@gmail.com>
Wed, 6 Feb 2013 01:33:42 +0000 (01:33 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 6 Feb 2013 01:33:42 +0000 (01:33 +0000)
commitc342d9d345acdbd95577c7c6e9ce7d3a1bdb57bf
tree97747a4aa454a6b592ccdfc643cacbd648ae2757
parent85df6b43403d3ebf5d80023a85699c6fb254941a
Add a 'StringRef' version of hasAttribute.

Fix the 'operator==' and 'hasAttributes' queries to take into account
target-dependent attributes.

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