llvm.org GIT mirror llvm / 658a806
Remove unused argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165636 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
13251325
13261326 /// @brief Determine if the call cannot unwind.
13271327 bool doesNotThrow() const { return hasFnAttr(Attributes::NoUnwind); }
1328 void setDoesNotThrow(bool DoesNotThrow = true) {
1328 void setDoesNotThrow() {
13291329 Attributes::Builder B;
13301330 B.addAttribute(Attributes::NoUnwind);
13311331 addAttribute(~0, Attributes::get(B));