llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.15k stars 12.03k forks source link

Warning suggests unrecognized option `--analyzer-output` #31139

Open llvmbot opened 7 years ago

llvmbot commented 7 years ago
Bugzilla Link 31791
Version 5.0
OS Linux
Reporter LLVM Bugzilla Contributor
CC @johannkoenig

Extended Description

Running Memtest86+ through the Clang static analyzer the warning below is shown.

$ clang-4.0 --version
clang version 4.0.0-+rc1-1 (tags/RELEASE_400/rc1)
Target: i686-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
$ scan-build-4.0 -o /dev/shm/html make CC=clang-4.0
[…]
warning: Path diagnostic report is not generated. Current output format does not support diagnostics that cross file boundaries. Refer to --analyzer-output for valid output formats
[…]

Unfortunately, that switch does not exist.

$ scan-build-4.0 --analyzer-output
scan-build: unrecognized option '--analyzer-output'

It’d be great if the warning could be updated.

johannkoenig commented 6 years ago

Still present in 5.0.0

llvmbot commented 7 years ago

assigned to @tkremenek