| 8551 | } |
| 8552 | |
| 8553 | static bool isNonMacro(const Token* tok) |
| 8554 | { |
| 8555 | if (tok->isKeyword() || tok->isStandardType()) |
| 8556 | return true; |
| 8557 | if (cAlternativeTokens.count(tok->str()) > 0) |
| 8558 | return true; |
| 8559 | if (startsWith(tok->str(), "__")) // attribute/annotation |
| 8560 | return true; |
| 8561 | if (Token::simpleMatch(tok, "alignas (")) |
| 8562 | return true; |
| 8563 | return false; |
| 8564 | } |
| 8565 | |
| 8566 | void Tokenizer::reportUnknownMacros() const |
| 8567 | { |
no test coverage detected