summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/externandnotdefined.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/externandnotdefined.cxx')
-rw-r--r--compilerplugins/clang/externandnotdefined.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/externandnotdefined.cxx b/compilerplugins/clang/externandnotdefined.cxx
index 97dff5a8dfa3..faf6bffb136c 100644
--- a/compilerplugins/clang/externandnotdefined.cxx
+++ b/compilerplugins/clang/externandnotdefined.cxx
@@ -17,10 +17,10 @@
namespace {
class ExternAndNotDefined:
- public RecursiveASTVisitor<ExternAndNotDefined>, public loplugin::Plugin
+ public loplugin::FilteringPlugin<ExternAndNotDefined>
{
public:
- explicit ExternAndNotDefined(loplugin::InstantiationData const & data): Plugin(data) {}
+ explicit ExternAndNotDefined(loplugin::InstantiationData const & data): FilteringPlugin(data) {}
virtual void run() override { TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); }