aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level1/README-inefficient-qlist-soft.md
blob: beebb3d1d35852b641eee01d02a52e29f99883b0 (plain)
1
2
3
4
5
6
7
# inefficient-qlist-soft

A less aggressive version of the **inefficient-qlist** check.

Finds `QList<T>` where `sizeof(T) > sizeof(void*)`. `QVector<T>` should be used instead.
Only warns if the container is a local variable and isn't passed to any method or returned,
unlike **inefficient-qlist**. This makes it easier to fix the warnings without concern about source and binary compatibility.