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

No autocompletion for an auto variable if a struct is defined in a function's scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 8.0.2
    • C/C++/Obj-C++ Support
    • None
    • Fedora 37
    • Linux/X11

    Description

      The issue is shown below. 

       

      Current behavior:

      1. internalInstance gets no code completion
      2. externalInstance gets code completion

       

      Expected behavior:

      1. internalInstance gets code completion
      2. externalInstance gets code completion

       

      Additional info:

      1. Minimal test case attached.
      2. No clangd used.

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            wojnilowicz wojnilowicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes