[Webkit-unassigned] [Bug 235686] Generate compile_commands.json on macOS Builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 27 17:01:41 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235686

--- Comment #8 from Brandon <brandonstewart at apple.com> ---
Some background information on the patch:

Getting code completion, compile errors, refactoring, and go-to definition for WebKit can be tricky to setup properly in editors like Emacs or Vim. clangd [0] is a tool that can help to solve these problems and works with a wide range of editors. 

clangd works by looking at the compile_commands.json file, which this patch generates. This file contains all the build commands and arguments that are used during compilation, so clangd can smartly index the files.

Xcode does not autogenerate the compile_commands.json, so I was doing it at build time instead.

[0]: https://clangd.llvm.org/features

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220128/a349d40d/attachment.htm>


More information about the webkit-unassigned mailing list