3 ms·
> No, that is what -Wall is for. Nobody runs the static analyzer, there are more people using ubsan fwiw. How do you know what other people are using? I person
by 2trill2spill 9y ago
> No, that is what -Wall is for. Nobody runs the static analyzer, there are more people using ubsan fwiw.
How do you know what other people are using? I personally use the clang static analyzer all the time. Also it seems like you think these options are mutually exclusive they are not.
- rurban 9y agoBecause I know a lot of software. Everybody uses -Wall, some -Wextra and even -pedantic, a few asan or ubsan, nobody uses clang specific analyze.
- 2trill2spill 9y ago> nobody uses clang specific analyze. That's a pretty bold claim. I use it for all my C projects, FreeBSD use's it[1], Chromium uses it[2]. It seems your basing this whole claim on personal anecdotes which by definition is unreliable. [1]: https://chromium.googlesource.com/chromium/src/+/lkcr/docs/clang_static_analyzer.md https://chromium.googlesource.com/chromium/src/+/lkcr/docs/c... [2]: https://github.com/freebsd/freebsd-ci/tree/master/scan-build https://github.com/freebsd/freebsd-ci/tree/master/scan-build
- rurban 9y agoWhich other software probes for a static analyzer? Is there a autoconf or cmake probe? FreeBSD and chromium are islands unfortunately.