[llvm-commits] [llvm] r165636 - /llvm/trunk/include/llvm/Instructions.h
Bill Wendling
isanbard at gmail.com
Wed Oct 10 11:02:57 PDT 2012
Author: void
Date: Wed Oct 10 13:02:57 2012
New Revision: 165636
URL: http://llvm.org/viewvc/llvm-project?rev=165636&view=rev
Log:
Remove unused argument.
Modified:
llvm/trunk/include/llvm/Instructions.h
Modified: llvm/trunk/include/llvm/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instructions.h?rev=165636&r1=165635&r2=165636&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instructions.h (original)
+++ llvm/trunk/include/llvm/Instructions.h Wed Oct 10 13:02:57 2012
@@ -1326,7 +1326,7 @@
/// @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));
More information about the llvm-commits
mailing list