diff options
Diffstat (limited to 'compilerplugins/clang/checkunusedparams.cxx')
-rw-r--r-- | compilerplugins/clang/checkunusedparams.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/checkunusedparams.cxx b/compilerplugins/clang/checkunusedparams.cxx index f0f95f6141db..2d4bc0dd60fe 100644 --- a/compilerplugins/clang/checkunusedparams.cxx +++ b/compilerplugins/clang/checkunusedparams.cxx @@ -24,10 +24,10 @@ TODO look for places where we are working around the warning by doing */ namespace { -class CheckUnusedParams: public RecursiveASTVisitor<CheckUnusedParams>, public loplugin::Plugin { +class CheckUnusedParams: public loplugin::FilteringPlugin<CheckUnusedParams> { public: explicit CheckUnusedParams(loplugin::InstantiationData const & data): - Plugin(data) {} + FilteringPlugin(data) {} void run() override; bool VisitFunctionDecl(FunctionDecl const *); bool VisitUnaryAddrOf(UnaryOperator const *); |