| 216 | } |
| 217 | |
| 218 | static std::string getMessageId(const ValueFlow::Value &value, const char id[]) |
| 219 | { |
| 220 | if (value.condition != nullptr) |
| 221 | return id + std::string("Cond"); |
| 222 | if (value.safe) |
| 223 | return std::string("safe") + static_cast<char>(std::toupper(id[0])) + (id + 1); |
| 224 | return id; |
| 225 | } |
| 226 | |
| 227 | void CheckTypeImpl::integerOverflowError(const Token *tok, const ValueFlow::Value &value, bool isOverflow) |
| 228 | { |
no outgoing calls
no test coverage detected