OS Manuals

/usr/bin/clang-scan-deps

Clang 20 extras

From clang-20-extras 20.1.8-r21 (os), captured 2026-11-05 by running clang-scan-deps --help (exit 0). permalink

OVERVIEW: clang-scan-deps

USAGE: clang-scan-deps [options]

OPTIONS:
  -compilation-database=<value>
                         Compilation database
  -dependency-target=<value>
                         The names of dependency targets for the dependency file
  -deprecated-driver-command
                         use a single driver command to build the tu (deprecated)
  -eager-load-pcm        Load PCM files eagerly (instead of lazily on import)
  -format=<value>        The output format for the dependencies
  --help                 Display this help
  -j <value>             Number of worker threads to use (default: use all concurrent threads)
  -mode=<value>          The preprocessing mode used to compute the dependencies
  -module-files-dir=<value>
                         The build directory for modules. Defaults to the value of '-fmodules-cache-path=' from command lines for implicit modules
  -module-name=<value>   the module of which the dependencies are to be computed
  -optimize-args=<value> Which command-line arguments of modules to optimize
  -o <value>             Destination of the primary output
  -print-timing          Print timing information
  -resource-dir-recipe=<value>
                         How to produce missing '-resource-dir' argument
  -round-trip-args       verify that command-line arguments are canonical by parsing and re-serializing
  --version              Display the version
  -v                     Use verbose output
Options (16)
OptionDescriptionSource
-compilation-database valueCompilation databasehelp
-dependency-target valueThe names of dependency targets for the dependency filehelp
-deprecated-driver-commanduse a single driver command to build the tu (deprecated)help
-eager-load-pcmLoad PCM files eagerly (instead of lazily on import)help
-format valueThe output format for the dependencieshelp
--helpDisplay this helphelp
-j valueNumber of worker threads to use (default: use all concurrent threads)help
-mode valueThe preprocessing mode used to compute the dependencieshelp
-module-files-dir valueThe build directory for modules.help
-module-name valuethe module of which the dependencies are to be computedhelp
-o valueDestination of the primary outputhelp
-print-timingPrint timing informationhelp
-resource-dir-recipe valueHow to produce missing '-resource-dir' argumenthelp
-round-trip-argsverify that command-line arguments are canonical by parsing and re-serializinghelp
--versionDisplay the versionhelp
-vUse verbose outputhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.