diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-03-05 16:15:22 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-11 19:44:33 +0100 |
commit | a62ad33b0eb1dac70f91a409d11ac1bcdb624842 (patch) | |
tree | 397d5c38a4a66bbfe5334bb03ac861394a328203 /compilerplugins/clang/simplifyconstruct.cxx | |
parent | 99f25bc344e931e66366e20664a23dc263fe3113 (diff) |
change some clang plugins to FilteringPlugins
As far as I can tell these do not need to scan everything, so the filtering
(and faster) base plugin is sufficient.
Change-Id: I0912a730bb5ec9670d1faa5c83f573902118cc95
Reviewed-on: https://gerrit.libreoffice.org/68872
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/simplifyconstruct.cxx')
-rw-r--r-- | compilerplugins/clang/simplifyconstruct.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/simplifyconstruct.cxx b/compilerplugins/clang/simplifyconstruct.cxx index 172a1bd48029..b48764302eae 100644 --- a/compilerplugins/clang/simplifyconstruct.cxx +++ b/compilerplugins/clang/simplifyconstruct.cxx @@ -18,11 +18,11 @@ namespace { -class SimplifyConstruct : public RecursiveASTVisitor<SimplifyConstruct>, public loplugin::Plugin +class SimplifyConstruct : public loplugin::FilteringPlugin<SimplifyConstruct> { public: explicit SimplifyConstruct(loplugin::InstantiationData const& data) - : Plugin(data) + : FilteringPlugin(data) { } |