summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/store/valueof.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/store/valueof.cxx')
-rw-r--r--compilerplugins/clang/store/valueof.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/compilerplugins/clang/store/valueof.cxx b/compilerplugins/clang/store/valueof.cxx
index 63dfa2f0c2bc..2b769a3e8cac 100644
--- a/compilerplugins/clang/store/valueof.cxx
+++ b/compilerplugins/clang/store/valueof.cxx
@@ -22,8 +22,7 @@ namespace loplugin
{
class ConvertValueOf
- : public RecursiveASTVisitor< ConvertValueOf >
- , public RewritePlugin
+ : public loplugin::FilteringRewritePlugin< ConvertValueOf >
{
public:
explicit ConvertValueOf( CompilerInstance& compiler, Rewriter& rewriter );
@@ -34,7 +33,7 @@ class ConvertValueOf
};
ConvertValueOf::ConvertValueOf( CompilerInstance& compiler, Rewriter& rewriter )
- : RewritePlugin( compiler, rewriter )
+ : FilteringRewritePlugin( compiler, rewriter )
{
}