| 199 | } |
| 200 | |
| 201 | bool astIsPrimitive(const Token* tok) |
| 202 | { |
| 203 | const ValueType* vt = tok ? tok->valueType() : nullptr; |
| 204 | if (!vt) |
| 205 | return false; |
| 206 | return vt->isPrimitive(); |
| 207 | } |
| 208 | |
| 209 | bool astIsIntegral(const Token *tok, bool unknown) |
| 210 | { |
no outgoing calls
no test coverage detected