| 48 | #include <type_traits> |
| 49 | |
| 50 | static bool isDereferenceOp(const Token* tok) |
| 51 | { |
| 52 | if (!tok) |
| 53 | return false; |
| 54 | if (!tok->astOperand1()) |
| 55 | return false; |
| 56 | if (tok->str() == "*") |
| 57 | return true; |
| 58 | return tok->str() == "." && tok->originalName() == "->"; |
| 59 | } |
| 60 | |
| 61 | struct ValueFlowAnalyzer : Analyzer { |
| 62 | const Settings& settings; |
no test coverage detected