summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/overrideparam.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-07 11:19:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-07 11:19:30 +0100
commit07b8711526972e120824d0fb913b01b1baf6a4cb (patch)
treeb9fcff64e92c1fc497babdde187db3d277ec61dc /compilerplugins/clang/overrideparam.cxx
parent3a32caa141f9c16a4f3d3895381384da13acd149 (diff)
Memoize ignoreLocation results
...which, according to callgrind, reduces instruction fetch count spent on compiling sw/source/core/layout/paintfrm.cxx (randomly selected because it is rather large) by 5% from 41,992,064,226 to 39,861,989,855 (function main() in clang-6.0). This is best done by forwarding ignoreLocation calls from Plugin to the PluginHandler signleton, but due to the tight mutual coupling between plugin.hxx and pluginhandler.hxx that unfortunately required some reorganization (and two outstanding TODO clean-ups of temporarily introduced using declarations in plugin.hxx). Change-Id: Ia4270517d194def7db7ed80cb6894e9c473e9499
Diffstat (limited to 'compilerplugins/clang/overrideparam.cxx')
0 files changed, 0 insertions, 0 deletions