Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25322

Another clazy bug, clazy-range-loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.14.0
    • None
    • Running within Qt Creator.
    • macOS

    Description

      ```

      for( QString : slstKeys ) {.   Missing reference in range-for with non trivial type (QString) [clazy-range-loop]  c++11 range-loop might detach Qt container (QStringList) [clazy-range-loop]

      ```

      The list is populated and having debugged the above, its perfectly fine, just the yellow warning to the right.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            simonplatten Simon Platten
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes