OVERVIEW: Swift API Digester USAGE: swift-frontend OPTIONS: -abi Dumping ABI interface -abort-on-module-fail Abort if a module failed to load -avoid-location Avoid serializing the file paths of SDK nodes. -avoid-tool-args Avoid serializing the arguments for invoking the tool. -baseline-dir The path to a directory containing baseline files: macos.json, iphoneos.json, appletvos.json, watchos.json, and iosmac.json -baseline-path The path to the Json file that we should use as the baseline -BF add a directory to the baseline framework search path -BI add a module for baseline input -breakage-allowlist-path An allowlist of breakages to not complain about -bsdk path to the baseline SDK to import frameworks -clang-target Separately set the target we should use for internal Clang instance -compiler-style-diags Print compiler style diagnostics to stderr. -debug-mapping Dumping information for debug purposes -deserialize-diff Deserialize diff items in a JSON file -deserialize-sdk Deserialize sdk digester in a JSON file -diagnose-sdk Diagnose SDK content in JSON file -disable-fail-on-error Don't exit with a nonzero status if errors are emitted -disable-os-checks Skip OS related diagnostics -disable-remove-deprecated-check Skip diagnosing removal of deprecated symbols -dump-sdk Dump SDK content to JSON file -empty-baseline Use empty baseline for diagnostics -enable-remove-deprecated-check Diagnosing removal of deprecated symbols -external-plugin-path # Add directory to the plugin search path with a plugin server executable -find-usr Find USR for decls by given condition -F Add directory to framework search path -generate-empty-baseline Generate an empty baseline -generate-migration-script Compare SDK content in JSON file and generate migration script -generate-name-correction Generate name correction template -help Display available options -iframework add a directory to the clang importer system framework search path -ignore-spi-group SPI group name to not diagnose about -ignored-usrs the file containing USRs of removed decls that the digester should ignore -input-paths The SDK contents under comparison -I Add directory to the import search path -json Print output in JSON format. -location Filter nodes with the given location. -migrator Dump Json suitable for generating migration script -module-cache-path Specifies the module cache path -module-list-file File containing a new-line separated list of modules -module Names of modules -output-dir Output directory -o Write output to -plugin-path Add directory to the plugin search path -print-module Print module names in diagnostics -protocol-requirement-allow-list File containing a new-line separated list of protocol names -resource-dir The directory that holds the compiler resource files -sdk Compile against -serialize-diagnostics-path Emit a serialized diagnostics file to -swift-only Only include APIs defined from Swift source -swift-version Interpret input according to a specific Swift language version number -target Generate code for the given target , such as x86_64-apple-macos10.9 -use-interface-for-module Prefer loading these modules via interface -visualc-tools-root VisualC++ Tools Root -visualc-tools-version VisualC++ ToolSet Version -v Show commands to run and use verbose output -windows-sdk-root Windows SDK Root -windows-sdk-version Windows SDK Version