| 2857 | } |
| 2858 | |
| 2859 | static bool isConvertedToView(const Token* tok, const Settings& settings) |
| 2860 | { |
| 2861 | std::vector<ValueType> vtParents = getParentValueTypes(tok, settings); |
| 2862 | return std::any_of(vtParents.cbegin(), vtParents.cend(), [&](const ValueType& vt) { |
| 2863 | if (!vt.container) |
| 2864 | return false; |
| 2865 | return vt.container->view; |
| 2866 | }); |
| 2867 | } |
| 2868 | |
| 2869 | static bool isContainerOfPointers(const Token* tok, const Settings& settings) |
| 2870 | { |
no test coverage detected