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

Indexing for C++11 types (auto, smart pointers)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.3.0-beta1, Qt Creator 4.4.0-rc1
    • C/C++/Obj-C++ Support
    • None
    • That's not yet ported.

    Description

      When using C++11 syntax (e.g. smart pointers / "auto") with CLang enabled, code-completion seems to work, whereas indexing ("find usages" / "follow symbol under cursor") does not.

      Attached a simple example ("find usages" on TestClass1::a will only find the usages where a raw pointer is used).

      Tested on 4.3.0, as well as 4.0.3

      Attachments

        1. main.cpp
          1 kB
          Jakob Engel

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              jakob Jakob Engel
              Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes