[clazy] [Bug 354404] New: Wrong warning about using stl container

Albert Astals Cid via KDE Bugzilla bugzilla_noreply at kde.org
Mon Oct 26 14:29:54 GMT 2015


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

            Bug ID: 354404
           Summary: Wrong warning about using stl container
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: aacid at kde.org

Code like

void testQRegionRects()
{
    QRegion r;
    foreach (const QRect &rect, r.rects()) { // no warning
    }
}


triggers a warning saying that an stl container has been used, i did a quick
debugging and the code thinks the container here is QRegion instead of QVector
and since it's not one of the "blessed" containers, complains about it

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



More information about the Unassigned-bugs mailing list