diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-23 14:35:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-23 16:34:48 +0200 |
commit | 1fd27a79318b2a762e3ae1590dde783ee656234b (patch) | |
tree | 081ffc07e67a32c173ec4322bb87f8f2ede278cb /compilerplugins/clang/redundantfcast.cxx | |
parent | leak on import of moz279355-2.pdf (diff) | |
download | core-1fd27a79318b2a762e3ae1590dde783ee656234b.tar.gz core-1fd27a79318b2a762e3ae1590dde783ee656234b.zip |
filter out AST in more plugins
I seem to have missed quite a few in
commit 9f4d23c15115d64febd6bf01f870cc157badd350
filter out some of the AST in the plugins
This nets me another 14% improvement
Change-Id: I39b980b49ced560f768045dbedd3ddfef29306c1
Reviewed-on: https://gerrit.libreoffice.org/59501
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/redundantfcast.cxx')
-rw-r--r-- | compilerplugins/clang/redundantfcast.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/redundantfcast.cxx b/compilerplugins/clang/redundantfcast.cxx index 8a1e913c18d5..3dc99d633626 100644 --- a/compilerplugins/clang/redundantfcast.cxx +++ b/compilerplugins/clang/redundantfcast.cxx @@ -13,11 +13,11 @@ namespace { -class RedundantFCast final : public RecursiveASTVisitor<RedundantFCast>, public loplugin::Plugin +class RedundantFCast final : public loplugin::FilteringPlugin<RedundantFCast> { public: explicit RedundantFCast(loplugin::InstantiationData const& data) - : Plugin(data) + : FilteringPlugin(data) { } |