jinja: correct stats for tojson and string filters (#19785)

This commit is contained in:
Xuan-Son Nguyen
2026-02-22 21:08:23 +01:00
committed by GitHub
parent ed4837891d
commit 5452d736f8
4 changed files with 101 additions and 7 deletions
+2
View File
@@ -118,6 +118,8 @@ struct value_t {
bool used = false;
// ops can be builtin calls or operators: "array_access", "object_access"
std::set<std::string> ops;
// utility to recursively mark value and its children as used
static void mark_used(value & val, bool deep = false);
} stats;
value_t() = default;