split clangplugins sharedvisitor generator into two steps

Desktop / LibreOffice - Luboš Luňák [collabora.com] - 6 September 2019 10:06 EDT

Analysing all the plugin sources using just one process takes a lot of time, so split out a separate analyzer tool that'll analyse one source and print out the data to a .plugininfo file. The generator then will read all of these and generate sharedvisitor.cxx . This allows parallelising the expensive analysis.

With this commit sharedvisitor.cxx is no longer included in the repository, as this and the next commit should make the generation fast enough.

Change-Id: Idfc33c4ea6ccfd84f829b51001c8ddeb0be09961 Reviewed-on: https://gerrit.libreoffice.org/78568

ceb26770b3d1 split clangplugins sharedvisitor generator into two steps
compilerplugins/Makefile-clang.mk | 87 +-
compilerplugins/clang/sharedvisitor/README | 45 +
compilerplugins/clang/sharedvisitor/analyzer.cxx | 278 +++
compilerplugins/clang/sharedvisitor/generator.cxx | 329 +---
.../clang/sharedvisitor/sharedvisitor.cxx | 1848 --------------------
solenv/clang-format/blacklist | 1 +
6 files changed, 474 insertions(+), 2114 deletions(-)

Upstream: cgit.freedesktop.org


  • Share