| 298 | } |
| 299 | |
| 300 | static bool isOperandExpanded(const Token *tok) |
| 301 | { |
| 302 | if (tok->isExpandedMacro() || tok->isEnumerator()) |
| 303 | return true; |
| 304 | if (tok->astOperand1() && isOperandExpanded(tok->astOperand1())) |
| 305 | return true; |
| 306 | if (tok->astOperand2() && isOperandExpanded(tok->astOperand2())) |
| 307 | return true; |
| 308 | return false; |
| 309 | } |
| 310 | |
| 311 | void CheckConditionImpl::checkBadBitmaskCheck() |
| 312 | { |
no test coverage detected