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

Function functionThrows

lib/checkexceptionsafety.cpp:272–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272static const Token * functionThrows(const Function * function)
273{
274 std::set<const Function *> recursive;
275
276 return functionThrowsRecursive(function, recursive);
277}
278
279//--------------------------------------------------------------------------
280// void func() noexcept { throw x; }

Callers 1

nothrowThrowsMethod · 0.85

Calls 1

functionThrowsRecursiveFunction · 0.85

Tested by

no test coverage detected