Remove unused argument.
authorBill Wendling <isanbard@gmail.com>
Wed, 10 Oct 2012 18:02:57 +0000 (18:02 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 10 Oct 2012 18:02:57 +0000 (18:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165636 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instructions.h

index a1a2bd53c825299ccfc4b48733f9063d15e4be5d..6837608b2c08fd69463eccb735d2e5535c6605e0 100644 (file)
@@ -1326,7 +1326,7 @@ public:
 
   /// @brief Determine if the call cannot unwind.
   bool doesNotThrow() const { return hasFnAttr(Attributes::NoUnwind); }
-  void setDoesNotThrow(bool DoesNotThrow = true) {
+  void setDoesNotThrow() {
     Attributes::Builder B;
     B.addAttribute(Attributes::NoUnwind);
     addAttribute(~0, Attributes::get(B));