summaryrefslogtreecommitdiffstats
path: root/clang-plugin/plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'clang-plugin/plugin.cc')
-rw-r--r--clang-plugin/plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-plugin/plugin.cc b/clang-plugin/plugin.cc
index 324e5169b..5d4dfc15f 100644
--- a/clang-plugin/plugin.cc
+++ b/clang-plugin/plugin.cc
@@ -48,7 +48,7 @@ namespace rspamd {
void HandleTranslationUnit (ASTContext &context) override
{
- rspamd::PrintfCheckVisitor v(&context);
+ rspamd::PrintfCheckVisitor v(&context, Instance);
v.TraverseDecl (context.getTranslationUnitDecl ());
}
};