diff options
Diffstat (limited to 'compilerplugins/clang/unreffun.cxx')
-rw-r--r-- | compilerplugins/clang/unreffun.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unreffun.cxx b/compilerplugins/clang/unreffun.cxx index 629e369dadc7..04c4e9f95dc1 100644 --- a/compilerplugins/clang/unreffun.cxx +++ b/compilerplugins/clang/unreffun.cxx @@ -64,9 +64,9 @@ bool isSpecialMemberFunction(FunctionDecl const * decl) { return false; } -class UnrefFun: public RecursiveASTVisitor<UnrefFun>, public loplugin::Plugin { +class UnrefFun: public loplugin::FilteringPlugin<UnrefFun> { public: - explicit UnrefFun(loplugin::InstantiationData const & data): Plugin(data) {} + explicit UnrefFun(loplugin::InstantiationData const & data): FilteringPlugin(data) {} void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } |