From: Manuel Klimek Date: Mon, 9 Jul 2012 05:17:45 +0000 (+0000) Subject: Links to the python CXCompilationDatabase documentation. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef0ebee9a4e1e6254b9c54c6fbb30045ed959c37;p=clang Links to the python CXCompilationDatabase documentation. Patch contributed by David Roethlisberger. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159923 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/JSONCompilationDatabase.html b/docs/JSONCompilationDatabase.html index 007825a35d..9785ac48ba 100644 --- a/docs/JSONCompilationDatabase.html +++ b/docs/JSONCompilationDatabase.html @@ -41,8 +41,9 @@ according to the build dependency graph. databases for Unix Makefile builds (Ninja builds in the works) with the option CMAKE_EXPORT_COMPILE_COMMANDS.

Clang's tooling interface supports reading compilation databases; see -the LibTooling documentation. Support for libclang -is in the works.

+the LibTooling documentation. libclang and its +python bindings also support this (since clang 3.2); see +CXCompilationDatabase.h.

Format

A compilation database is a JSON file, which consist of an array of