[clazy] [Bug 410751] [check proposal] not emitting signals in noexcept function

Sergio Martins bugzilla_noreply at kde.org
Fri Aug 9 13:52:46 BST 2019


https://bugs.kde.org/show_bug.cgi?id=410751

--- Comment #1 from Sergio Martins <smartins at kde.org> ---
>> The check could be relaxed if the slot of the signal is also marked noexcept.

Maybe not, as signals don't know (or shouldn't know) which slots are connected
to them. So I would make this check look at all methods.

In terms of implementation, catch all CallExpr, check if it's a signal (there's
helpers for that already), check if method is noexpr.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list