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

QSharedPtr operator-> arguments are not followed by F2 key in some scenarios

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • Qt Creator 2.8.1, Qt Creator 3.2.1, Qt Creator 4.6.0-beta1
    • C/C++/Obj-C++ Support
    • Ubuntu 12.04 amd64

    Description

      See attached test program. In the main() function, when I put text cursor over `a` in `p->a` or over `f` in `p->f()` in the first block (where `p` is of type `CPtr`), pressing <F2> does nothing. But in the second block, where `p` has type CPtrDirect, defined above, pressing <F2> successfully jumps to the correct members of `struct C`.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            10110111 Ruslan Kabatsayev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes