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

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


https://github.com/i-ky created https://github.com/llvm/llvm-project/pull/79758

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.

>From 3166a7ff57893e34963b51770f2e711a2b28e7b6 Mon Sep 17 00:00:00 2001
From: i-ky <gl.ivanovsky at gmail.com>
Date: Sun, 28 Jan 2024 18:12:14 +0200
Subject: [PATCH] Mention compilation database generator tool `basset`

Its operation principles differ from Bear, which allows it to capture compile commands when Bear is not able to.
---
 clang/docs/JSONCompilationDatabase.rst | 1 +
 1 file changed, 1 insertion(+)

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



More information about the cfe-commits mailing list