[PATCH] D74467: [analyzer] Teach scan-build how to rebuild index.html without analyzing.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 08:24:56 PST 2020


NoQ added a comment.

In D74467#1905011 <https://reviews.llvm.org/D74467#1905011>, @Charusso wrote:

> Could you mention how to use this feature in the Summary please?
>
>   cd reports
>   scan-build --generate-index-only .
>


Yup, this was supposed to work.

> And something is not right, I have tried it:
> 
>   Use of uninitialized value $Clang in concatenation (.) or string at /llvm-project/clang/tools/scan-build/bin/scan-build line 1895.

Uh-oh. Does this still show up if you specify `--use-analyzer` explicitly? Because `%scan_build` in tests includes this flag because otherwise it has no knowledge of the clang build directory.

>   sh: 1: : Permission denied

This looks like a separate problem, dunno.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74467/new/

https://reviews.llvm.org/D74467





More information about the cfe-commits mailing list