| 3290 | } |
| 3291 | |
| 3292 | static bool isUnknownType(const Token* start, const Token* end) |
| 3293 | { |
| 3294 | while (Token::Match(start, "const|volatile")) |
| 3295 | start = start->next(); |
| 3296 | start = skipScopeIdentifiers(start); |
| 3297 | if (start->tokAt(1) == end && !start->type() && !start->isStandardType()) |
| 3298 | return true; |
| 3299 | // TODO: Try to deduce the type of the expression |
| 3300 | if (Token::Match(start, "decltype|typeof")) |
| 3301 | return true; |
| 3302 | return false; |
| 3303 | } |
| 3304 | |
| 3305 | static const Token* getEnableIfReturnType(const Token* start) |
| 3306 | { |
no test coverage detected