The use of Q_ASSERT(false) is bogus as we don't need to test here, but want to signal unreachability. Q_UNREACHABLE_RETURN allows us to tell the compiler that the point can't be reached while also getting rid of the no return error. Task-number: QTBUG-114689 Change-Id: I007cd243055237bcc21772a4130a6c1a44fd882d Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> (cherry picked from commit ce39beea0cd49bb93b0e345194265dd8081094cd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%