Still messing around...
- https://github.com/swiftlang/sourcekit-lsp/blob/e93b7ed6bfe902e6abb27d40d1e3f5f3cb7a45c8/Sources/BuildSystemIntegration/CompilationDatabase.swift#L148
- As a result, the new compile_commands.json file should appear in the current directory. You should link it to the LLVM source tree so that Clang Tooling is able to use it (https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html)