| 3497 | } |
| 3498 | |
| 3499 | void Tokenizer::simplifyUsingError(const Token* usingStart, const Token* usingEnd) |
| 3500 | { |
| 3501 | if (mSettings.debugwarnings) { |
| 3502 | std::string str; |
| 3503 | for (const Token *tok = usingStart; tok && tok != usingEnd; tok = tok->next()) { |
| 3504 | if (!str.empty()) |
| 3505 | str += ' '; |
| 3506 | str += tok->str(); |
| 3507 | } |
| 3508 | str += " ;"; |
| 3509 | std::list<const Token *> callstack(1, usingStart); |
| 3510 | mErrorLogger.reportErr(ErrorMessage(callstack, &list, Severity::debug, "simplifyUsing", |
| 3511 | "Failed to parse \'" + str + "\'. The checking continues anyway.", Certainty::normal)); |
| 3512 | } |
| 3513 | } |
| 3514 | |
| 3515 | bool Tokenizer::simplifyTokens1(const std::string &configuration, int fileIndex) |
| 3516 | { |
nothing calls this directly
no test coverage detected