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

Clang code model picks wrong variable for rename

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.6.0-rc1
    • C/C++/Obj-C++ Support
    • None

    Description

      When placing the cursor in front of the variable before pressing Ctrl-Shift-R it occurs that the wrong variable is picked for rename. See attached screenshot. I also observed crashes and infinite loops when doing the same for function (lambda local?) variables.

      Attachments

        1. plugin.png
          plugin.png
          35 kB
        2. refactorbug.png
          refactorbug.png
          136 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            hasselmm Mathias Hasselmann
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes