Remove unused method.
authorBill Wendling <isanbard@gmail.com>
Mon, 21 Jan 2013 23:41:50 +0000 (23:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 21 Jan 2013 23:41:50 +0000 (23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173106 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Function.h

index 9bdaebac82c386ccb90acec8cdc563e3fd426d8e..956d3ed2e298eb224ea99d61852019d0f29403a9 100644 (file)
@@ -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;