summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedvariablecheck.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/unusedvariablecheck.hxx')
-rw-r--r--compilerplugins/clang/unusedvariablecheck.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedvariablecheck.hxx b/compilerplugins/clang/unusedvariablecheck.hxx
index 21e0eabd03c0..7bf1cdd15ddd 100644
--- a/compilerplugins/clang/unusedvariablecheck.hxx
+++ b/compilerplugins/clang/unusedvariablecheck.hxx
@@ -11,7 +11,7 @@
#ifndef UNUSEDVARIABLECHECK_H
#define UNUSEDVARIABLECHECK_H
-#include "compileplugin.hxx"
+#include "plugin.hxx"
namespace loplugin
{
@@ -23,7 +23,7 @@ class UnusedVariableCheck
public:
explicit UnusedVariableCheck( ASTContext& context );
void run();
- bool VisitNamedDecl( NamedDecl* declaration );
+ bool VisitVarDecl( VarDecl* var );
};
} // namespace