diff options
Diffstat (limited to 'compilerplugins/clang/store/revisibility.cxx')
-rw-r--r-- | compilerplugins/clang/store/revisibility.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/store/revisibility.cxx b/compilerplugins/clang/store/revisibility.cxx index fec8ff7f7e61..9aa04f7b2560 100644 --- a/compilerplugins/clang/store/revisibility.cxx +++ b/compilerplugins/clang/store/revisibility.cxx @@ -26,10 +26,10 @@ bool isFriendDecl(Decl const * decl) { } class ReVisibility: - public RecursiveASTVisitor<ReVisibility>, public loplugin::Plugin + public loplugin::FilteringPlugin<ReVisibility> { public: - explicit ReVisibility(InstantiationData const & data): Plugin(data) {} + explicit ReVisibility(InstantiationData const & data): FilteringPlugin(data) {} void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } |