[clazy] [Bug 362587] New: Don't warn for detach on QSequentialIterable and QAssociativeIterable

via KDE Bugzilla bugzilla_noreply at kde.org
Mon May 2 15:21:24 BST 2016


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

            Bug ID: 362587
           Summary: Don't warn for detach on QSequentialIterable and
                    QAssociativeIterable
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: eric.lemanissier at gmail.com
                CC: smartins at kde.org

QSequentialIterable and QAssociativeIterable  have only const members, so there
is no way they could be detached. Currently, clazy-range-loop warns "c++11
range-loop might detach Qt container (QSequentialIterable)" if the
QSequentialIterable object is not const. I did not check QAssociativeIterable.


Reproducible: Always

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



More information about the Unassigned-bugs mailing list