From f855e4845e221d8e036caa7edac9fe2926020ba4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 21 Jan 2026 08:27:08 +0100 Subject: pkg/codesearch: fix resolving of static functions declared in headers Update #6469 --- pkg/codesearch/testdata/source0.c.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'pkg/codesearch/testdata/source0.c.json') diff --git a/pkg/codesearch/testdata/source0.c.json b/pkg/codesearch/testdata/source0.c.json index 5eea7aba9..cb80dc021 100644 --- a/pkg/codesearch/testdata/source0.c.json +++ b/pkg/codesearch/testdata/source0.c.json @@ -11,6 +11,18 @@ }, "comment": {} }, + { + "kind": "function", + "name": "func_in_header", + "type": "int ()", + "is_static": true, + "body": { + "file": "source0.h", + "start_line": 12, + "end_line": 15 + }, + "comment": {} + }, { "kind": "function", "name": "function_with_comment_in_header", -- cgit mrf-deployment