summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-30 09:17:46 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-30 09:17:46 +0000
commit6190254e0f64cd87ec3a29c19e535d6f833ffd0d (patch)
tree194c7144e65901857d529aec68cfcde87e04a910 /llvm/lib/VMCore
parent0b37f14371d601bab6493f47aa9326abb3e768e2 (diff)
downloadbcm5719-llvm-6190254e0f64cd87ec3a29c19e535d6f833ffd0d.tar.gz
bcm5719-llvm-6190254e0f64cd87ec3a29c19e535d6f833ffd0d.zip
s/hasAttribute/contains/g to be more consistent with other method names.
llvm-svn: 171252
Diffstat (limited to 'llvm/lib/VMCore')
-rw-r--r--llvm/lib/VMCore/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Attributes.cpp b/llvm/lib/VMCore/Attributes.cpp
index 0db1eb5ed44..b32358708d8 100644
--- a/llvm/lib/VMCore/Attributes.cpp
+++ b/llvm/lib/VMCore/Attributes.cpp
@@ -266,7 +266,7 @@ AttrBuilder &AttrBuilder::removeAttributes(const Attribute &A){
return *this;
}
-bool AttrBuilder::hasAttribute(Attribute::AttrKind A) const {
+bool AttrBuilder::contains(Attribute::AttrKind A) const {
return Bits & AttributeImpl::getAttrMask(A);
}
OpenPOWER on IntegriCloud