s/hasAttribute/contains/g to be more consistent with other method names.
[oota-llvm.git] / include / llvm / Attributes.h
index cc14e965e2d1e60fdeaf313e57226e1428f5724e..7b621249d72496b702a1d3d214708894fcb5aa7d 100644 (file)
@@ -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;