summaryrefslogtreecommitdiffstats
path: root/clang/docs/JSONCompilationDatabase.rst
Commit message (Collapse)AuthorAgeFilesLines
* [Documentation] Use HTTPS whenever possibleEugene Zelenko2019-01-231-1/+1
| | | | | | Differential revision: https://reviews.llvm.org/D56946 llvm-svn: 351976
* [Tooling] Use FixedCompilationDatabase when `compile_flags.txt` is found.Sam McCall2017-11-091-0/+6
| | | | | | | | | | | | | | | | | | | | | Summary: This is an alternative to JSONCompilationDatabase for simple projects that don't use a build system such as CMake. (You can also drop one in ~, to make your tools use e.g. C++11 by default) There's no facility for varying flags per-source-file or per-machine. Possibly this could be accommodated backwards-compatibly using cpp, but even if not the simplicity seems worthwhile for the cases that are addressed. Tested with clangd, works great! (requires clangd restart) Reviewers: klimek Subscribers: ilya-biryukov, cfe-commits Differential Revision: https://reviews.llvm.org/D39799 llvm-svn: 317777
* Extend CompilationDatabase by a field for the output filenameJoerg Sonnenberger2016-12-011-0/+3
| | | | | | | | | | | | | | In bigger projects like an Operating System, the same source code is often compiled in slightly different ways. This could be the difference between PIC and non-PIC code for static vs dynamic libraries, it could also be the difference between size optimised versions of tools for ramdisk images. At the moment, the compilation database has no way to distinguish such cases. As first step, add a field in the JSON format for it and process it accordingly. Differential Revision: https://reviews.llvm.org/D27138 llvm-svn: 288436
* Document the arguments form of commands.Joerg Sonnenberger2016-11-251-0/+2
| | | | llvm-svn: 287926
* Documentation: fix escaping in JSON exampleDmitri Gribenko2013-01-301-1/+1
| | | | llvm-svn: 173950
* Documentation: add a link to Bear, a tool to help with JSON DBDmitri Gribenko2013-01-301-0/+3
| | | | | | Patch by Laszlo Nagy llvm-svn: 173949
* docs: Fix up HTML links to proper reST links.Sean Silva2013-01-021-1/+1
| | | | llvm-svn: 171382
* Documentation: random cleanups. Use monospaced font where appropriate,Dmitri Gribenko2012-12-151-3/+3
| | | | | | highlight console output with "code-block:: console", etc. llvm-svn: 170276
* docs: More reST conversion.Sean Silva2012-12-131-0/+85
Sorry for the large commit, but it is much faster to convert in batches. llvm-svn: 170067
OpenPOWER on IntegriCloud