aboutsummaryrefslogtreecommitdiffstats
path: root/tests/range-loop-reference/main.cpp.fixed.expected
Commit message (Collapse)AuthorAgeFilesLines
* Fix range-loop-reference tests expected outputFrancisco Boni2021-04-231-0/+1
| | | | | | | Fix unit-tests build due to indirect include (https://invent.kde.org/sdk/clazy/-/commit/bcfad880545dbda9acb0e5fc05e f3651ffc0fd5d) forgot to add "#include <QtCore/QSequentialIterable>" to the tests expected outputs
* Split range-loop check in range-loop-detach and range-loop-reference.Christian Schärf2021-02-211-0/+106
Implements #431870 Previously, the range-loop check warned about range-based loops over COW Qt containers that might detach as well as places where the container elements where used by value instead of const reference. These cases are splitted into separate checks so they can be selected separately.