| 3068 | } |
| 3069 | |
| 3070 | static const Token* findThisChanged(const Token* start, const Token* end, int indirect, const Settings& settings) |
| 3071 | { |
| 3072 | if (!precedes(start, end)) |
| 3073 | return nullptr; |
| 3074 | for (const Token* tok = start; tok != end; tok = tok->next()) { |
| 3075 | if (!exprDependsOnThis(tok)) |
| 3076 | continue; |
| 3077 | if (isThisChanged(tok, indirect, settings)) |
| 3078 | return tok; |
| 3079 | } |
| 3080 | return nullptr; |
| 3081 | } |
| 3082 | |
| 3083 | template<class Find> |
| 3084 | static const Token* findExpressionChangedImpl(const Token* expr, |
no test coverage detected