From 377660355ccdde389eb4f473bbb24125f160ea23 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sun, 30 Dec 2012 09:17:46 +0000 Subject: s/hasAttribute/contains/g to be more consistent with other method names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171252 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Attributes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/Attributes.h') diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index cc14e965e2..7b621249d7 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -176,8 +176,8 @@ public: /// removeAttribute - Remove the attributes from A from the builder. AttrBuilder &removeAttributes(const Attribute &A); - /// contains - Return true if the builder has the specified attribute. - bool hasAttribute(Attribute::AttrKind A) const; + /// \brief Return true if the builder has the specified attribute. + bool contains(Attribute::AttrKind A) const; /// hasAttributes - Return true if the builder has IR-level attributes. bool hasAttributes() const; -- cgit v1.2.3