diff options
Diffstat (limited to 'compilerplugins/clang/derefnullptr.cxx')
-rw-r--r-- | compilerplugins/clang/derefnullptr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/derefnullptr.cxx b/compilerplugins/clang/derefnullptr.cxx index db7b3b9eb5ed..cc5ffe431a2f 100644 --- a/compilerplugins/clang/derefnullptr.cxx +++ b/compilerplugins/clang/derefnullptr.cxx @@ -12,11 +12,11 @@ namespace { class DerefNullPtr: - public RecursiveASTVisitor<DerefNullPtr>, public loplugin::Plugin + public loplugin::FilteringPlugin<DerefNullPtr> { public: explicit DerefNullPtr(loplugin::InstantiationData const & data): - Plugin(data) {} + FilteringPlugin(data) {} void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } |