facebook / facebook/infer

failed to work with ninja

未关闭
#1,028 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
OCaml
星标
15.7k
派生
2.1k
平均合并
19 小时 36 分钟
30 天内合并 PR
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 摘要。