aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-31 23:38:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-31 23:38:01 +0000
commit39da078977ae98b6bf1c3c76a472ed24f5f2a2d2 (patch)
tree90e6efda8721fa5aeafbbe511bbd6f498d66f297 /include
parent03c209733bd5459d84177e43eb19dabe64be3da7 (diff)
s/AttrBuilder::addAttributes/AttrBuilder::addAttribute/g because that's more descriptive of what it actually is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Attributes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index d5da1c0a2e..508277c130 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -345,7 +345,7 @@ public:
addRawValue(B);
}
AttrBuilder(const Attribute &A) : Alignment(0), StackAlignment(0) {
- addAttributes(A);
+ addAttribute(A);
}
AttrBuilder(AttributeSet AS, unsigned Idx);
@@ -354,12 +354,12 @@ public:
/// \brief Add an attribute to the builder.
AttrBuilder &addAttribute(Attribute::AttrKind Val);
+ /// \brief Add the Attribute object to the builder.
+ AttrBuilder &addAttribute(Attribute A);
+
/// \brief Remove an attribute from the builder.
AttrBuilder &removeAttribute(Attribute::AttrKind Val);
- /// \brief Add the attributes to the builder.
- AttrBuilder &addAttributes(Attribute A);
-
/// \brief Remove the attributes from the builder.
AttrBuilder &removeAttributes(AttributeSet A, uint64_t Index);