| 3396 | } |
| 3397 | |
| 3398 | bool Function::returnsVoid(const Function* function, bool unknown) |
| 3399 | { |
| 3400 | return checkReturns(function, unknown, true, [](const Token* /*defStart*/, const Token* defEnd) { |
| 3401 | return Token::simpleMatch(defEnd->previous(), "void"); |
| 3402 | }); |
| 3403 | } |
| 3404 | |
| 3405 | std::vector<const Token*> Function::findReturns(const Function* f) |
| 3406 | { |
nothing calls this directly
no test coverage detected