1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:22:07 +02:00
tldr/pages/common/scan-build.md
2022-01-18 10:33:13 -03:00

16 lines
405 B
Markdown

# scan-build
> Command-line utility to run a static analyzer over a codebase as part of performing a regular build.
> More information: <https://clang-analyzer.llvm.org/scan-build.html>.
- Build and analyze the project in the current directory:
`scan-build {{make}}`
- Run a command and pass all subsequent options to it:
`scan-build {{command}} {{command_arguments}}`
- Display help:
`scan-build`