[docs] Clarify & update JSONCompilationDatabase docs
authorSam McCall <sam.mccall@gmail.com>
Sun, 16 Jan 2022 15:00:25 +0000 (16:00 +0100)
committerSam McCall <sam.mccall@gmail.com>
Mon, 17 Jan 2022 08:51:55 +0000 (09:51 +0100)
commit16949762dc6a670d2f3a1f5043262ec31e09c556
tree42c0226639c3af299153ee75f9dbde69d25a1ac3
parentf855074ed1193d5fd96b02280c31479294ce0901
[docs] Clarify & update JSONCompilationDatabase docs

- prefer `arguments` over `command`, and add example
- clarify that there's no shell-unescaping of `arguments`

Fixes https://github.com/llvm/llvm-project/issues/53143

Differential Revision: https://reviews.llvm.org/D117428
clang/docs/JSONCompilationDatabase.rst