From b46dc57feb6bca9fbeb661899804c09162bfabc4 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 30 Jan 2013 17:58:14 +0000 Subject: [PATCH] Documentation: add a link to Bear, a tool to help with JSON DB Patch by Laszlo Nagy llvm-svn: 173949 --- clang/docs/JSONCompilationDatabase.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/docs/JSONCompilationDatabase.rst b/clang/docs/JSONCompilationDatabase.rst index c5852ebfb542..bb008845ed27 100644 --- a/clang/docs/JSONCompilationDatabase.rst +++ b/clang/docs/JSONCompilationDatabase.rst @@ -33,6 +33,9 @@ Currently `CMake `_ (since 2.8.5) supports generation of compilation databases for Unix Makefile builds (Ninja builds in the 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 `_. + Clang's tooling interface supports reading compilation databases; see the :doc:`LibTooling documentation `. libclang and its python bindings also support this (since clang 3.2); see