projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8665b3
)
Remove unused argument.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 10 Oct 2012 18:02:57 +0000
(18:02 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 10 Oct 2012 18:02:57 +0000
(18:02 +0000)
llvm-svn: 165636
llvm/include/llvm/Instructions.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Instructions.h
b/llvm/include/llvm/Instructions.h
index
a1a2bd5
..
6837608
100644
(file)
--- 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));