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

"Find Usages" does not work with shared pointers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.6.2, Qt Creator 4.7.1
    • Fix Version/s: Qt Creator 4.13.0-beta1
    • Component/s: C++ Refactoring
    • Labels:
    • Environment:
      Windows, MSVC
    • Platform/s:
      Windows
    • Commits:
      9ee693ee229d28bd618e8dd44bc6b12750d43a29 (qt-creator/qt-creator/master)

      Description

      The right-click "Find Usages" function in QtCreator does not find anything pointed to by a C++ shared pointer.  (I have not tried QSharedPointer but would presume that that does work).

        Attachments

        1. find-usages.png
          find-usages.png
          224 kB
        2. find-usages-wind-BAD.PNG
          find-usages-wind-BAD.PNG
          56 kB
        3. main.cpp
          0.8 kB
        4. SharedPointerTest.pro
          0.9 kB
        5. windows-mingw.png
          windows-mingw.png
          127 kB
        For Gerrit Dashboard: QTCREATORBUG-20781
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            bubke Marco Bubke
            Reporter:
            chortlemortal David Casper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes