aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/tool/codeeditor/codeeditor_test.go
diff options
context:
space:
mode:
authorFlorent Revest <revest@chromium.org>2026-01-21 15:38:10 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-25 20:14:51 +0000
commit02bac03162280236ef7a33993358cb7dcff443d1 (patch)
treefd98d9c42a355463260042cffc3379a9f23f17f7 /pkg/aflow/tool/codeeditor/codeeditor_test.go
parent40acda8acc843b8f5cc068eaad3b6b217e5a9de6 (diff)
tools/clang/json: escape strings properly
When preparing a codesearch index, I encountered errors which I narrowed down to lines like the following in the json output of codesearch: "type": "void (void __attribute__((btf_type_tag("user")))*, const void *, size_t, size_t)", After this change, the line gets formatted like this: "type": "void (void __attribute__((btf_type_tag(\"user\")))*, const void *, size_t, size_t)", This fixes the errors I encountered
Diffstat (limited to 'pkg/aflow/tool/codeeditor/codeeditor_test.go')
0 files changed, 0 insertions, 0 deletions