diff options
Diffstat (limited to 'docs/checks/README-inefficient-qlist-soft.md')
-rw-r--r-- | docs/checks/README-inefficient-qlist-soft.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/checks/README-inefficient-qlist-soft.md b/docs/checks/README-inefficient-qlist-soft.md new file mode 100644 index 00000000..beebb3d1 --- /dev/null +++ b/docs/checks/README-inefficient-qlist-soft.md @@ -0,0 +1,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. |