OVERVIEW: Swift IDE Test USAGE: swift-ide-test [options] [input files...] OPTIONS: Generic Options: --help - Display available options (--help-hidden for more) --help-list - Display list of available options (--help-list-hidden for more) --version - Display the version of this program swift-ide-test Options: -D - Conditional compilation flags -F - add a directory to the framework search path -I - add a directory to the import search path --Xcc= - option to pass to clang --abstract-accessors - Hide the concrete accessors used to implement a property or subscript Access filter: --access-filter-private - Print all declarations --access-filter-internal - Print internal and public declarations --access-filter-public - Print public declarations --access-notes-path= - Path to access notes file --always-argument-labels - Whether to always print separate argument labels --annotate-print - Annotate AST printing --code-complete-add-call-with-no-default-args - Whether to include a function completion that contains no default arguments --code-complete-call-pattern-heuristics - Use heuristics to guess whether we want call pattern completions --code-complete-inits-in-postfix-expr - Include initializers when completing a postfix expression --code-completion-annotate-results - annotate completion results with XML --code-completion-comments - Include comments in code completion results --code-completion-diagnostics - Print compiler diagnostics while doing code completion --code-completion-keywords - Include keywords in code completion results --code-completion-sourcetext - Include source texts in code completion results --code-completion-token= - Code completion token name --comments-xml-schema= - Filename of the RelaxNG schema for documentation comments --completion-cache-path= - Code completion cache path --completion-output-dir= - Directory for completion output --conforming-methods-expected-types= - Set expected types for comforming method list --cxx-interop-getters-setters-as-properties - Imports getters and setters as computed properties. --debug-client-discriminator= - A discriminator to prefer in lookups --debug-constraints - Enable verbose debugging from the constraint solver. --debug-forbid-typecheck-prefix= - Triggers llvm fatal_error if typechecker tries to typecheck a decl with the provided prefix name --decl-to-print= - Decl name to print swift interface for --define-availability= - Define a macro for @available --disable-access-control - Disables access control, like a debugger --disable-objc-attr-requires-foundation-module - Allow @objc to be used freely --disable-objc-interop - Disable ObjC interop. --enable-cross-import-overlays - Automatically import declared cross-import overlays. --enable-deserialization-safety - Avoid reading potentially unsafe decls from swiftmodules --enable-experimental-cxx-interop - Enable C++ interop. --enable-experimental-feature= - Enable an experimental feature --enable-objc-forward-declarations - Import Objective-C forward declarations when possible --enable-objc-interop - Enable ObjC interop. --enable-swift3-objc-inference - Enable Swift 3's @objc inference rules --enable-swiftsourceinfo - Whether to consume .swiftsourceinfo files --end-pos= - Line:Column pair --explicit-swift-module-map-file= - JSON file to include explicit Swift modules --explode-pattern-binding-decls - Separate pattern binding decls into individual var decls --expressions - Print expressions --filecheck= - Path to 'FileCheck' utility --find-mangled= - Print the entity with the given mangled name --fully-qualified-types - Print fully qualified types --fully-qualified-types-if-ambiguous - Print types fully-qualified if they would be ambiguous otherwise --function-definitions - Print function bodies --header-to-print= - Header filename to print swift interface for --iframework= - add a directory to the system framework search path --import-objc-header= - header to implicitly import --include-locals - Index local symbols too. --load-plugin-executable= - load plugin executable --load-plugin-library= - load plugin library --module-alias= - Use '-module-alias =' to map a module of that appears in source code to --module-cache-path= - Clang module cache path --module-group= - Name of the module group to print --module-name= - The module name of the given test. --module-print-hidden - Print non-exported imported or submodules --module-print-skip-overlay - Skip Swift overlay modules --module-print-submodules - Recursively print submodules --module-to-print= - Name of the module to print --no-empty-line-between-members - Print no empty line between members. --parse-as-library - Parse '-source-filename' as a library source file --pch-output-dir= - place autogenerated PCH files in this directory --playground - Whether coloring in playground --plugin-path= - plugin-path --pos= - Line:Column pair --prefer-type-repr - When printing types, prefer printing TypeReprs --print-access - Print access keywords for all values Mode: --batch-code-completion - Perform code completion in batch mode --code-completion - Perform code completion --repl-code-completion - Perform REPL-style code completion --dump-completion-cache - Dump a code completion cache file --dump-importer-lookup-table - Dump the Clang importer's lookup tables --syntax-coloring - Perform syntax coloring --dump-comments - Dump documentation comments attached to decls --structure - Perform document structure annotation --annotate - Perform semantic annotation --test-input-complete - Check if input source is complete --print-ast-not-typechecked - Print the non-typechecked AST --print-ast-typechecked - Print the typechecked AST --print-module - Print visible declarations in a module --print-module-metadata - Print meta-data in a module --print-header - Print visible declarations in a header file --print-swift-file-interface - Print interface of a swift file --print-decl - Print interface of a decl --print-types - Print types of all subexpressions and declarations in the AST --print-comments - Print documentation comments attached to decls --print-module-comments - Given a module, print documentation comments attached to decls --print-module-imports - Recursively print all imports visible from a particular module --print-usrs - Print USRs for all decls --print-local-types - Print local types and remanglings in a module --test-createCompilerInvocation - Test swift::driver::createCompilerInvocation using the arguments passed to swift-ide-test (must be specified before all other arguments) --test-CompilerInvocation-from-module - Test CompilerInvocation::loadFromSerializedAST on the "source" file --generate-module-api-description - Generate a machine-readable description of module API --diff-module-api - Compare machine-readable descriptions of module API --print-type-interface - Print type-specific interface decl --reconstruct-type - Reconstruct type from mangled name --print-module-groups - Print group names in a module --range - Print information about a given range --print-indexed-symbols - Print indexed symbol information --type-context-info - Perform expression context info analysis --print-expr-type - Print types for all expressions in the file --conforming-methods - Perform conforming method analysis for expression --print-implicit-attrs - Print implicit attributes --print-interface - Print with options set for interface printing, overrides any other printing option --print-interface-doc - Print with options set for interface printing, for doc support; overrides any other printing option --print-original-source - print the original source text for applicable declarations --print-regular-comments - Print regular comments from clang module headers --print-stats - Print statistics --random-seed= - Seed for the random number generator --resource-dir= - The directory that holds the compiler resource files --sdk= - path to the SDK to build against --second-source-filename= - Name of the second source file --serialized-path-obfuscate= - Path to access notes file --skip-deinit - Whether to skip printing destructors --skip-filecheck - Skip 'FileCheck' checking --skip-imports - Whether to skip printing import declarations --skip-overrides - Whether to skip printing overrides/witnesses --skip-parameter-names - Whether to skip parameter names --skip-print-doc-comments - Don't print documentation comments from clang module headers --skip-private-stdlib-decls - Don't print declarations that start with '_' --skip-unavailable - Don't print unavailable declarations --skip-underscored-stdlib-protocols - Don't print protocols that start with '_' --skip-unsafe-cxx-methods - Don't print unsafe C++ class methods that were renamed as unsafe --source-filename= - Name of the source file --swift-version= - Swift version --synthesize-extension - Print synthesized extensions from conforming protocols. --synthesize-sugar-on-types - Always print Array and Optional with sugar --target= - target triple --terminal - Use terminal color for source annotations --tools-directory= - Path to external executables (ld, clang, binutils) --typecheck - Type check the AST --usr= - USR --usr-filter= - Filter results by the given usrs