summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/salbool.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/salbool.cxx')
-rw-r--r--compilerplugins/clang/salbool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx
index f0024e96da27..9b664e626f0d 100644
--- a/compilerplugins/clang/salbool.cxx
+++ b/compilerplugins/clang/salbool.cxx
@@ -143,11 +143,11 @@ bool hasBoolOverload(FunctionDecl const * decl, bool mustBeDeleted) {
}
class SalBool:
- public RecursiveASTVisitor<SalBool>, public loplugin::RewritePlugin
+ public loplugin::FilteringRewritePlugin<SalBool>
{
public:
explicit SalBool(loplugin::InstantiationData const & data):
- RewritePlugin(data) {}
+ FilteringRewritePlugin(data) {}
virtual void run() override;