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

Occurance of Variables are not highlighted correctly (Clang Code Model)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.7.2, Qt Creator 4.8.0-rc1
    • None
    • Windows

    Description

      With the Clang Code Model activated the occurance of variables is not highlighted for all places the variable is used.

      numOfEventsFileName is used in the next code line (red marking)

      _dcBAFS is a boost::shared_ptr, byteArray is a method of the class.

      _dcBAFS can be resolved by pressing "F2"

      byteArray() can be resolved by pressing "F2"

      and the red underlined numOfEventsFileName can be resolved by pressing "F2", too.

       

      So all seems to be there to understand that numOfEventsFileName is the varible just defined in the line before.

       

      Why is it not hightlighted?

       

      Oh, and just in case you might wonder: Without the Clang Code Model it is highlighted...

       

      Attachments

        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:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes