diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-01-31 23:38:01 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-01-31 23:38:01 +0000 |
| commit | 23804daad9f03070d2dd5b09597431d93e7d47d5 (patch) | |
| tree | 2e13604b671e3534df0422f5cd53269d2a319277 /llvm/include | |
| parent | 30cfaa2578ea60d337cdff3096080f8e60b57e6e (diff) | |
| download | bcm5719-llvm-23804daad9f03070d2dd5b09597431d93e7d47d5.tar.gz bcm5719-llvm-23804daad9f03070d2dd5b09597431d93e7d47d5.zip | |
s/AttrBuilder::addAttributes/AttrBuilder::addAttribute/g because that's more descriptive of what it actually is.
llvm-svn: 174116
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/IR/Attributes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index d5da1c0a2e9..508277c1306 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/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); |

