| 3368 | } |
| 3369 | |
| 3370 | bool Function::returnsConst(const Function* function, bool unknown) |
| 3371 | { |
| 3372 | return checkReturns(function, unknown, false, [](const Token* defStart, const Token* defEnd) { |
| 3373 | return Token::findsimplematch(defStart, "const", defEnd); |
| 3374 | }); |
| 3375 | } |
| 3376 | |
| 3377 | bool Function::returnsReference(const Function* function, bool unknown, bool includeRValueRef) |
| 3378 | { |
nothing calls this directly
no test coverage detected