summaryrefslogtreecommitdiffstats
path: root/clang-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'clang-plugin')
-rw-r--r--clang-plugin/printf_check.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc
index c2144127b..1cee49cd7 100644
--- a/clang-plugin/printf_check.cc
+++ b/clang-plugin/printf_check.cc
@@ -504,7 +504,8 @@ namespace rspamd {
if (!found) {
print_error (
std::string ("bad argument for ") + fmt + " arg: " +
- arg->getType ().getAsString (),
+ arg->getType ().getAsString () + ", resolved as: " +
+ builtin_type->getNameAsCString (ctx->past->getPrintingPolicy ()),
arg, ctx->past, ctx->pci);
return false;
}