Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.8.0-rc, Qt Creator 2.8.0
-
None
-
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.