Charusso added a comment.

In D74467#1905416 <https://reviews.llvm.org/D74467#1905416>, @NoQ wrote:

> In D74467#1905011 <https://reviews.llvm.org/D74467#1905011>, @Charusso wrote:
>
> > Could you mention how to use this feature in the Summary please?
> >  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.


Well, then please mention the proper usage is:

  cd reports
  scan-build --use-analyzer clang --generate-index-only .

With that none of the concatenation and `sh` permission issue shows up. However 
it would be a nice QoL if that extra flag is not needed to generate HTML.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74467



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to