Revision dd94275...

Go back to digest for 16th January 2011

Optimization in Development Tools

David Nolden committed changes in [KDevPlatform] /language:

* Add a parameter "preferProxyContext" to "DUChainUtils::standardContextForUrl".
Only proxy-context know exactly about all the includes, and thus they need to be used when deciding whether the duchain needs to be updated.

* After switching the document and after refactoring, decide whether the duchain needs to be updated based on the proxy context.

In C++, this fixes the problem that often the files weren't updated even though one of their included headers was changed.

File Changes

Modified 5 files
  • /language
  •   /codegen/documentchangeset.cpp
  •   /duchain/duchain.cpp
  •   /duchain/duchainutils.cpp
  •   /duchain/duchainutils.h
  •   /interfaces/ilanguagesupport.h
5 files changed in total