diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-01-28 15:55:33 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-01-28 19:33:54 +0100 |
commit | 1565bcaff401366937c800d8f4617df2b4f68271 (patch) | |
tree | 8f417f0a1b9232b0fde35307eba30c6c8ba81650 /dtrans | |
parent | 545f198a3baa5544919454054d591d1a331498f7 (diff) |
avoid compilerplugin's sharedvisitor bailing out prematurely
The simplifyconstruct test can return false from a Visit*() function
(thus ending the whole traversal) because anyPluginActive() would
return false just because a plugin would be temporarily disabled
in Traverse*() because of its PreTraverse*() returning false. Keep
a count of temporarily disabled plugins to prevent this.
Change-Id: I413d88749257acff2220182d13e8fcd0f7289540
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87636
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'dtrans')
0 files changed, 0 insertions, 0 deletions