mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
474 B
Plaintext
22 lines
474 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# scan-build
|
|
|
|
> 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`
|