From 707953d0252edf2614843229aed53478c0536263 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 10 Oct 2012 18:02:57 +0000 Subject: [PATCH] Remove unused argument. llvm-svn: 165636 --- llvm/include/llvm/Instructions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Instructions.h b/llvm/include/llvm/Instructions.h index a1a2bd5..6837608 100644 --- a/llvm/include/llvm/Instructions.h +++ b/llvm/include/llvm/Instructions.h @@ -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)); -- 2.7.4