aboutsummaryrefslogtreecommitdiffstats
path: root/tests/range-loop-reference/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix unit-tests build due to indirect includeSergio Martins2021-03-241-0/+1
| | | | Would fail with some Qt versions
* 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.