reindex_file_impl
Reparse a C/C++ source file and refresh its entries in the symbol index, optionally including LLM-generated analysis and method overrides.
Instructions
Re-parse a single source file with libclang and update its symbols in the index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or project-relative path to the source file to re-parse. Must have a matching entry in compile_commands.json. | |
| project_root | No | Project root directory. Auto-detected from cwd if omitted. | |
| with_analysis | No | When True (default), also regenerates LLM symbol analysis and method override relationships — slower but produces a fully up-to-date index. Set False for a fast symbol-only update (used by background auto-reindex). |