scan-build: add page (#7672)
This commit is contained in:
16
pages/common/scan-build.md
Normal file
16
pages/common/scan-build.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# 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`
|
Reference in New Issue
Block a user