summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Argument.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-23 06:14:59 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-23 06:14:59 +0000
commit28d65722d6f283b327b5815914382077fe9c0ab4 (patch)
tree2edfbefbb4ed020a14b308718f9ccecebfaa0c6b /include/llvm/IR/Argument.h
parentd3afa9be99e504350582f08ffc4cd05cf928db6a (diff)
downloadllvm-28d65722d6f283b327b5815914382077fe9c0ab4.tar.gz
llvm-28d65722d6f283b327b5815914382077fe9c0ab4.tar.bz2
llvm-28d65722d6f283b327b5815914382077fe9c0ab4.tar.xz
Remove the last of uses that use the Attribute object as a collection of attributes.
Collections of attributes are handled via the AttributeSet class now. This finally frees us up to make significant changes to how attributes are structured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Argument.h')
-rw-r--r--include/llvm/IR/Argument.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IR/Argument.h b/include/llvm/IR/Argument.h
index b8bc083e06..ef4e4fc7aa 100644
--- a/include/llvm/IR/Argument.h
+++ b/include/llvm/IR/Argument.h
@@ -79,10 +79,10 @@ public:
bool hasStructRetAttr() const;
/// \brief Add a Attribute to an argument.
- void addAttr(Attribute);
+ void addAttr(AttributeSet AS);
/// \brief Remove a Attribute from an argument.
- void removeAttr(Attribute);
+ void removeAttr(AttributeSet AS);
/// \brief Method for support type inquiry through isa, cast, and
/// dyn_cast.