Description
Generates a compilation database by observing builds, allowing clang-based tools to understand how each source file is compiled. It is useful for code completion, static analysis, refactoring, and linting in C or C++ projects.
Use it when a project does not already produce compile_commands.json. The result is only as accurate as the build command that Bear observes.