~codeblocks-devs/codeblocks/trunk

Viewing all changes in revision 10537.

  • Committer: fuscated
  • Date: 2021-06-24 07:38:54 UTC
  • Revision ID: svn-v4:2a5c6006-c6dd-42ca-98ab-0921f2732cef:trunk:12465
* SDK/compiler: Clear the Backtick cache before important operations

> This is very old and annoying problem that if you have some backtick
  expression which changes its result a full C::B restart is required to
  get the updated value.
> The major point is that even if you know about the problem it almost
  always catches you by surprise and wastes your time. If you're unaware
  you're about to open a forum topic and waste even more time.
> The idea about this clearing is to happen just before major compiler
  operations and to be triggered by user actions. We don't want to call
  this new function from some internal DoSomething function, we want the
  cache to operate as a cache after all.
> Hopefully this won't slow the build too much.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: