[clazy] [Bug 367485] Invalid loop detach warning for function local container

Sergio Martins via KDE Bugzilla bugzilla_noreply at kde.org
Sat Aug 20 22:18:08 BST 2016


https://bugs.kde.org/show_bug.cgi?id=367485

--- Comment #2 from Sergio Martins <smartins at kde.org> ---
Git commit 642c2d801b288e0def3517870a57639afe1a5c74 by Sergio Martins.
Committed on 20/08/2016 at 21:07.
Pushed by smartins into branch 'master'.

range-loop: Reduce false positives

If the container is local and is not passed to any function,
lets not warn.

Not closing bug yet, still can be improved.

M  +8    -3    checks/level1/range-loop.cpp
M  +15   -3    tests/range-loop/main.cpp
M  +6    -5    tests/range-loop/main.cpp.expected

http://commits.kde.org/clazy/642c2d801b288e0def3517870a57639afe1a5c74

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list