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

        For Gerrit Dashboard: QTCREATORBUG-26596
        # Subject Branch Project Status CR V

        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