MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / unreachable

Function unreachable

lib/utils.h:402–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400namespace cppcheck
401{
402 NORETURN inline void unreachable()
403 {
404#if defined(__GNUC__)
405 __builtin_unreachable();
406#elif defined(_MSC_VER)
407 __assume(false);
408#else
409#error "no unreachable implementation"
410#endif
411 }
412}
413
414template<typename T>

Callers 15

infoStringMethod · 0.85
functionTypeToStringFunction · 0.85
lifetimeTypeFunction · 0.85
isMatchMethod · 0.85
getClassificationFunction · 0.85
getInvalidValueStringFunction · 0.85
keywords.cppFile · 0.85
typeToStringFunction · 0.85
severityToStringFunction · 0.85
mapCFunction · 0.85
mapCPPFunction · 0.85
simplecppErrToIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected