Bear is a tool that generates a compilation database for clang tooling.
conda install conda-forge::bear