summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-30 23:40:31 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-30 23:40:31 +0000
commit785afdf3a48b3f38a0fd30edefc533ca1bf725f9 (patch)
tree3f703e68b800b3c4a390c0d322afacc6cf5dcc92 /llvm/include
parent1a347f76c2d93a8d92cf8031c802d876d72cb637 (diff)
downloadbcm5719-llvm-785afdf3a48b3f38a0fd30edefc533ca1bf725f9.tar.gz
bcm5719-llvm-785afdf3a48b3f38a0fd30edefc533ca1bf725f9.zip
Remove addRetAttributes and addFnAttributes, which aren't useful abstractions.
llvm-svn: 173992
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/IR/Attributes.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h
index 5cad4c9e496..1b8195ff052 100644
--- a/llvm/include/llvm/IR/Attributes.h
+++ b/llvm/include/llvm/IR/Attributes.h
@@ -230,18 +230,6 @@ public:
AttributeSet addAttributes(LLVMContext &C, unsigned Idx,
AttributeSet Attrs) const;
- /// \brief Add return attributes to this attribute set. Since attribute sets
- /// are immutable, this returns a new set.
- AttributeSet addRetAttributes(LLVMContext &C, AttributeSet Attrs) const {
- return addAttributes(C, ReturnIndex, Attrs);
- }
-
- /// \brief Add function attributes to this attribute set. Since attribute sets
- /// are immutable, this returns a new set.
- AttributeSet addFnAttributes(LLVMContext &C, AttributeSet Attrs) const {
- return addAttributes(C, FunctionIndex, Attrs);
- }
-
/// \brief Remove the specified attribute at the specified index from this
/// attribute list. Since attribute lists are immutable, this returns the new
/// list.
OpenPOWER on IntegriCloud