[PATCH] D116882: [docs] [clang] Small documentation change for compilation databases
Dave Butler via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 9 16:06:01 PST 2022
croepha updated this revision to Diff 398468.
croepha added a comment.
Fixed spelling
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116882/new/
https://reviews.llvm.org/D116882
Files:
clang/docs/JSONCompilationDatabase.rst
Index: clang/docs/JSONCompilationDatabase.rst
===================================================================
--- clang/docs/JSONCompilationDatabase.rst
+++ clang/docs/JSONCompilationDatabase.rst
@@ -29,6 +29,10 @@
Supported Systems
=================
+Clang has the ablity to generate compilation database fragments via
+the :option:`-MJ argument <clang -MJ\<arg>>`. You can concatenate those
+fragments together between ``[`` and ``]`` to create a compilation database.
+
Currently `CMake <https://cmake.org>`_ (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``.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116882.398468.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220110/58953b00/attachment.bin>
More information about the cfe-commits
mailing list