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

CodeAssist: Rework ownership of code assist objects

XMLWordPrintable

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

      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?

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes