[llvm-bugs] [Bug 31791] New: Warning suggests unrecognized option `--analyzer-output`

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 29 02:37:09 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31791

            Bug ID: 31791
           Summary: Warning suggests unrecognized option
                    `--analyzer-output`
           Product: clang
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: paulepanter at users.sourceforge.net
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170129/abd5a545/attachment.html>


More information about the llvm-bugs mailing list