summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/reservedid.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-23 14:35:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-23 16:34:48 +0200
commit1fd27a79318b2a762e3ae1590dde783ee656234b (patch)
tree081ffc07e67a32c173ec4322bb87f8f2ede278cb /compilerplugins/clang/reservedid.cxx
parente78a6c4231cfb33643b45442b786e1e31b2781a8 (diff)
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/reservedid.cxx')
-rw-r--r--compilerplugins/clang/reservedid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/reservedid.cxx b/compilerplugins/clang/reservedid.cxx
index e3cb737cf6b5..f05890cda0a5 100644
--- a/compilerplugins/clang/reservedid.cxx
+++ b/compilerplugins/clang/reservedid.cxx
@@ -33,10 +33,10 @@ bool isJniFunction(NamedDecl const * decl) {
}
class ReservedId:
- public RecursiveASTVisitor<ReservedId>, public loplugin::Plugin
+ public loplugin::FilteringPlugin<ReservedId>
{
public:
- explicit ReservedId(loplugin::InstantiationData const & data): Plugin(data)
+ explicit ReservedId(loplugin::InstantiationData const & data): FilteringPlugin(data)
{}
void run() override;