If there is a function call that calls a non-throwing function,
this check should not report a warning, even if there is a throw
statement within that function.
The dependent_throw() test case was misleading and suggested that this
warning is not triggered when a throw exception is in unreachable code,
but in reality that warning did not trigger because it could not
determine whether the function should be noexcept without specializing
the T template argument. That test case is fixed to show non-specialized
and specialized cases.
Fixes https://github.com/llvm/llvm-project/issues/54668 and