【发布时间】:2020-01-24 04:23:18
【问题描述】:
我在 centos 7.5 上运行 clang-check 5.0 来运行静态分析。如何设置 clang-check 以生成 html 报告? Plist文件可以正常生成。
这是我使用的命令,但它不起作用。没有生成 html 文件。谢谢。
clang-check -analyze -p compile_commands.json -extra-arg=-Xanalyzer -extra-arg=-analyzer-output=html -extra-arg=-o=html_output xxx.cpp
warning: could not create file in 'xxx.plist': Not a directory
【问题讨论】:
-
你找到解决这个问题的方法了吗?
标签: c++ clang clang-static-analyzer