facebook / facebook/infer

failed to work with ninja

オープン
#1,028 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
OCaml
スター
15.7k
フォーク
2.1k
平均マージ
19時間 36分
マージ済み PR(30日)
13

説明

1. generate compilation database file (cmd.json) from ninja's build.ninja
2. infer --compilation-database cmd.json

got a lot of errors, many caused by: No such file or directory

it looks like infer can't handle non-compile command, such as:
{
"directory": "/data/trunk",
"command": "PYTHONPATH=/data/trunk/thirdparty/aa.zip:$PYTHONPATH python -m toolchain scm build64_release/scm.cc 190634 http://abc.com/trunk release \"GCC 5.5.0\"",
"file": ""
}

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。