From: Bill Wendling Date: Mon, 21 Jan 2013 23:41:50 +0000 (+0000) Subject: Remove unused method. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0d8c5fb91d9240f14246803200c0110e25e849d8;p=oota-llvm.git Remove unused method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173106 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Function.h b/include/llvm/IR/Function.h index 9bdaebac82c..956d3ed2e29 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;