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

avoid full reparses of the code model every time the project changes

    XMLWordPrintable

Details

    • 8ea14767af70f7c0c2e9940f018e7b17e6f00205

    Description

      Currently the Cpp code model is very conservative and assumes that any change to the project needs a full reparse of all the files in the project (invalidating all previous values).

      One should check it include,compiler flags,... are changed wrt. to the old version, and only in those cases invalidate the older version, otherwise do a partial update.

      Related with this change the update due to project change should be done only through updateProjectInfo (which possibly calls updateSourceFiles after figuring out what to do), removing the extra call to updateSourceFiles of the project manager.

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            fawzi Fawzi Mohamed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes