summaryrefslogtreecommitdiffstats
path: root/clang-plugin/plugin.cc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 16:18:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-11 16:18:22 +0000
commit432c149841757951d781307de88b31d08d705109 (patch)
tree00ef9367bd26d16733739f1516453123d570c1de /clang-plugin/plugin.cc
parentdbac29badb4c5542caa0334c2d82ff9328d253a1 (diff)
downloadrspamd-432c149841757951d781307de88b31d08d705109.tar.gz
rspamd-432c149841757951d781307de88b31d08d705109.zip
Break compilation on format errors.
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 ());
}
};