diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-30 09:17:46 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-30 09:17:46 +0000 |
commit | 377660355ccdde389eb4f473bbb24125f160ea23 (patch) | |
tree | f660528d15a54d7a6a9c68302c1b440977726604 /include/llvm/Attributes.h | |
parent | db2367512e87dbd7b93c3250ef30c9df5e40cb43 (diff) | |
download | llvm-377660355ccdde389eb4f473bbb24125f160ea23.tar.gz llvm-377660355ccdde389eb4f473bbb24125f160ea23.tar.bz2 llvm-377660355ccdde389eb4f473bbb24125f160ea23.tar.xz |
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
Diffstat (limited to 'include/llvm/Attributes.h')
-rw-r--r-- | include/llvm/Attributes.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |