summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-21 23:41:50 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-21 23:41:50 +0000
commit0d8c5fb91d9240f14246803200c0110e25e849d8 (patch)
tree9eb94fc47fc82da616f1278bbeacf34404cc8771 /include
parent1d10898ab58e04c0e6fe84e98b08b4da828fccb9 (diff)
downloadllvm-0d8c5fb91d9240f14246803200c0110e25e849d8.tar.gz
llvm-0d8c5fb91d9240f14246803200c0110e25e849d8.tar.bz2
llvm-0d8c5fb91d9240f14246803200c0110e25e849d8.tar.xz
Remove unused method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/IR/Function.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/IR/Function.h b/include/llvm/IR/Function.h
index 9bdaebac82..956d3ed2e2 100644
--- a/include/llvm/IR/Function.h
+++ b/include/llvm/IR/Function.h
@@ -171,17 +171,9 @@ public:
/// addFnAttr - Add function attributes to this function.
///
void addFnAttr(Attribute::AttrKind N) {
- // Function Attribute are stored at ~0 index
addAttribute(AttributeSet::FunctionIndex, Attribute::get(getContext(), N));
}
- /// removeFnAttr - Remove function attributes from this function.
- ///
- void removeFnAttr(Attribute N) {
- // Function Attribute are stored at ~0 index
- removeAttribute(~0U, N);
- }
-
/// hasGC/getGC/setGC/clearGC - The name of the garbage collection algorithm
/// to use during code generation.
bool hasGC() const;