You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by gi...@git.apache.org on 2017/07/11 11:33:11 UTC
[GitHub] michal-narajowski opened a new pull request #77: Create compile_commands.json file on build
michal-narajowski opened a new pull request #77: Create compile_commands.json file on build
URL: https://github.com/apache/mynewt-newt/pull/77
Can be useful for clang tools, rtags, etc.
For example:
To perform static analysis on a source code:
```
clang-check -analyze -p path/to/compile_commands.json path/to/source/file
```
or
```
find path/to/sources/ -name '*.c'|xargs clang-check -analyze -p path/to/compile_commands.json
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services