1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 09:15:25 +02:00
tldr/pages/common/scan-build.md
Managor d1fa35edf6
common/*: reduce usage of "command-line" (part 2) (#16950)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:23 +03:00

381 B

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