| 82 | } |
| 83 | |
| 84 | static bool containerYieldsElement(const Library::Container* container, const Token* parent) |
| 85 | { |
| 86 | if (Token::Match(parent, ". %name% (")) { |
| 87 | const Library::Container::Yield yield = container->getYield(parent->strAt(1)); |
| 88 | if (isElementAccessYield(yield)) |
| 89 | return true; |
| 90 | } |
| 91 | return false; |
| 92 | } |
| 93 | |
| 94 | static bool containerPopsElement(const Library::Container* container, const Token* parent) |
| 95 | { |
no test coverage detected