If tok1 comes after tok2
| 1040 | |
| 1041 | /// If tok1 comes after tok2 |
| 1042 | bool succeeds(const Token* tok1, const Token* tok2) |
| 1043 | { |
| 1044 | if (tok1 == tok2) |
| 1045 | return false; |
| 1046 | if (!tok1) |
| 1047 | return false; |
| 1048 | if (!tok2) |
| 1049 | return true; |
| 1050 | return tok1->index() > tok2->index(); |
| 1051 | } |
| 1052 | |
| 1053 | bool isAliasOf(const Token *tok, nonneg int varid, bool* inconclusive) |
| 1054 | { |
no outgoing calls
no test coverage detected