Closed
Description
Affected rules
A15-4-2
ERR55-CPP
Description
noexcept
functions frequently call other noexcept
functions. If a noexcept
function throws an exception, then we currently report that as a violation in every noexcept
function that calls that function. This creates multiple alerts for one issues. We should instead report the original instance and not the others.
Example
void f1() noexcept {
throw foo(); // report this case
}
void f2() noexcept {
f1(); // do not report this case
}