summaryrefslogtreecommitdiff
path: root/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
commitac72eb264c3a8a15cda81aaead6adc8419058666 (patch)
treededfbceb55713764692caed012129a8c0874c932 /include
parente74365462a39529ae48ef4d34ec76b4543b8ea29 (diff)
downloadllvm-ac72eb264c3a8a15cda81aaead6adc8419058666.tar.gz
llvm-ac72eb264c3a8a15cda81aaead6adc8419058666.tar.bz2
llvm-ac72eb264c3a8a15cda81aaead6adc8419058666.tar.xz
Remove addRetAttributes and addFnAttributes, which aren't useful abstractions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Attributes.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index 5cad4c9e49..1b8195ff05 100644
--- a/include/llvm/IR/Attributes.h
+++ b/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.