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

CodeAssist: Rework ownership of code assist objects

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None
    • Editors
    • None

    Description

      It wasn't nice before, but with the introduction of the IAssistProvider::Asynchronous it got even worse. E.g. count the lines calling "delete" manually in CodeAssistantPrivate::requestProposal.

      1. Investigate and clarify the ownership semantics of all the code assist objects.
      2. Use smart pointers if applicable:
        1. ...a smart pointer for each object?
        2. ...a smart pointer to a handle object that owns all other related objects per code completion invocation?

      Attachments

        Issue Links

          Activity

            People

              kandeler Christian Kandeler
              kosjar Nikolai Kosjar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: