| 1034 | } |
| 1035 | |
| 1036 | static bool matchCurrentType(const Token* tok, std::map<int, std::string>& types) |
| 1037 | { |
| 1038 | if (tok->isC()) |
| 1039 | return false; |
| 1040 | return std::any_of(types.begin(), types.end(), [&](const std::pair<int, std::string>& element) { |
| 1041 | return tok->str() == element.second; |
| 1042 | }); |
| 1043 | } |
| 1044 | |
| 1045 | void Tokenizer::simplifyTypedef() |
| 1046 | { |
no test coverage detected