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

foreach variables are not highlighted for occurrence (frame) with ClangCodeModel plugin activated

    XMLWordPrintable

Details

    • Windows

    Description

      The occurrence of the variables in a foreach( ... ) is not shown.

      This seems to be a defect of clang code model, as the build in code model detects the occurrence.

      With clang code model:

      If you position the cursor on one of the variables in foreach, no frame is drawn and no occurrence is detected:

       

      With build-in code model, everything is fine.

      Attachments

        1. image-2021-11-22-12-20-16-409.png
          30 kB
          Michael Möllney
        2. image-2021-11-22-12-20-54-463.png
          29 kB
          Michael Möllney
        3. image-2021-11-22-12-22-19-085.png
          28 kB
          Michael Möllney
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            moellney Michael Möllney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes