-
Improve BENCHMARK_UNREACHABLE() implementation. · 2ec7399cEric Fiselier authored
This patch primarily changes the BENCHMARK_UNREACHABLE() implementation under MSVC to use __assume(false) instead of being a NORETURN function, which ironically caused unreachable code warnings. Second, since the NOTHROW function attempt generated the warnings we meant to avoid, it has been replaced with a dummy null statement.
2ec7399c
×