[clazy] [Bug 431870] New: Proposal: Split range-loop check

Christian Schärf bugzilla_noreply at kde.org
Thu Jan 21 12:31:12 GMT 2021


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

            Bug ID: 431870
           Summary: Proposal: Split range-loop check
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: c.schaerf at t-online.de
                CC: smartins at kde.org
  Target Milestone: ---

As of now, the range-loop checks warns about range-based for loops

* over non-const Qt containers that may detach, such as:
* where non-trivial types are accessed by value instead of const reference

I propose to split the check in two so these cases can be selected
individually.

Thoughts?

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


More information about the Unassigned-bugs mailing list