bazel-compile-commands-extractor
bazel-compile-commands-extractor copied to clipboard
Goal: Enable awesome tooling for Bazel users of the C language family.
Hello Is there a way to run this utility without clearing previously generated compile_commands.json file? can't find any Reason for that is that I work with big repository and usually...
Hi, I tried to use the compile command extractor on a project using absl and it requested to file an issue, so here it is: ``` AssertionError: Source file candidate,...
AttributeError: 'bool' object has no attribute 'relative_to' - Bug introduced during the reversion of changes (https://github.com/hedronvision/bazel-compile-commands-extractor/commit/0b821b7e4286aec887757461366f6eaaa0972cb9#diff-a1d7061df7c566a1f7656624ec608ad53dd3aff7a7789b9b6e4866a3b1616042R502). - Reverted to the previous implementation to fix the issue.
I want to create compile_commands.json with 'directory' with lowered (explicitly specified) drive letter. This pullrequest is a workaround for a known clangd issue: https://github.com/clangd/clangd/issues/108 Clangd engine doesn't differ 'Windows paths'...
To follow the (future) migration of the python rules out of the set of native rules: https://github.com/bazelbuild/bazel/issues/17773 . This requires us to load the 'rules_python' module and while at it...
Hi I get an error when trying to use this tool to get compile_commands.json on an Android kernel build (Oneplus 12). I am ware that Android provides a way to...
I want to take a closer look at file `compile_commands.json`, but the content of it is not fixed. Is there a way to make the order of its content fixed?...
Traceback (most recent call last): File "/home/marko/.cache/bazel/_bazel_marko/0ce0fa6fc07580e57fc58b0bf75cd1e8/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.check_python_version.py", line 15, in refresh_compile_commands.main() File "/home/marko/.cache/bazel/_bazel_marko/0ce0fa6fc07580e57fc58b0bf75cd1e8/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.py", line 1419, in main compile_command_entries.extend(_get_commands(target, flags)) File "/home/marko/.cache/bazel/_bazel_marko/0ce0fa6fc07580e57fc58b0bf75cd1e8/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.py", line 1281, in _get_commands yield from _convert_compile_commands(parsed_aquery_output) File "/home/marko/.cache/bazel/_bazel_marko/0ce0fa6fc07580e57fc58b0bf75cd1e8/execroot/_main/bazel-out/k8-fastbuild/bin/refresh_compile_commands.runfiles/_main/refresh_compile_commands.py",...