OSDN Git Service

Remove the 'contains' methods in favor of the 'operator==' method.
authorBill Wendling <isanbard@gmail.com>
Thu, 3 Jan 2013 01:43:05 +0000 (01:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 3 Jan 2013 01:43:05 +0000 (01:43 +0000)
commit8351a60d6da4f5cdab80753ad2266085a6fbf62a
tree18d3e593b6ba11a3830a5b466647d0c0fc708e10
parent3ac03815e195a598fce50abdda440c9d2fae815e
Remove the 'contains' methods in favor of the 'operator==' method.

The 'operator==' method is a bit clearer and much less verbose for somethings
that should have only one value. Remove from the AttrBuilder for consistency.

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