[clang] Mention compilation database generator tool `basset` (PR #79758)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 08:16:27 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: None (i-ky)

<details>
<summary>Changes</summary>

Its operation principles differ from Bear, which allows it to capture compile commands when Bear is not able to.

Full disclosure: I am the author of basset.

---
Full diff: https://github.com/llvm/llvm-project/pull/79758.diff


1 Files Affected:

- (modified) clang/docs/JSONCompilationDatabase.rst (+1) 


``````````diff
diff --git a/clang/docs/JSONCompilationDatabase.rst b/clang/docs/JSONCompilationDatabase.rst
index f5432278bd4d4e..fc8ece1637d40e 100644
--- a/clang/docs/JSONCompilationDatabase.rst
+++ b/clang/docs/JSONCompilationDatabase.rst
@@ -39,6 +39,7 @@ works) with the option ``CMAKE_EXPORT_COMPILE_COMMANDS``.
 
 For projects on Linux, there is an alternative to intercept compiler
 calls with a tool called `Bear <https://github.com/rizsotto/Bear>`_.
+There is also another one called `basset <https://github.com/i-ky/basset>`_.
 
 `Bazel <https://bazel.build>`_ can export a compilation database via
 `this extractor extension

``````````

</details>


https://github.com/llvm/llvm-project/pull/79758


More information about the cfe-commits mailing list