Clazy shows an error about inefficient use of QList in the case of QList<T> QMap::values() method. STEPS TO REPRODUCE 1. Call QList<T> QMap::values() for type with size 16 bytes. Because there is no values() method with QVector it should probably skip this case.
Calling values QMap::values() just makes it worse, as it allocates a temporary container, see README-container-anti-pattern.md. Ofc, people will always find cases where "but here it's useful for me!", for that reason, inefficient-qlist is disabled by default, and there's inefficient-qlist-soft. Anyway, no point on spending our weekend around this since it's already a non-issue in Qt 6, where this check doesn't make sense anymore. Any effort spend here will be wasted in the long run.