//===--- DriverOptions.td - Options for clang -----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // This file defines the options accepted by clang. // //===----------------------------------------------------------------------===// // Include the common option parsing interfaces. include "OptParser.td" ///////// // Groups // Meta-group which defines def CompileOnly_Group : OptionGroup<"">; def I_Group : OptionGroup<"">, Group; def L_Group : OptionGroup<"">, Group; def M_Group : OptionGroup<"">, Group; def T_Group : OptionGroup<"">; def O_Group : OptionGroup<"">, Group; def W_Group : OptionGroup<"">, Group; def X_Group : OptionGroup<"">; def a_Group : OptionGroup<"">; def d_Group : OptionGroup<"">; def f_Group : OptionGroup<"">, Group; def f_clang_Group : OptionGroup<"">, Group; def g_Group : OptionGroup<"">; def i_Group : OptionGroup<"">, Group; def clang_i_Group : OptionGroup<"">, Group; def m_Group : OptionGroup<"">, Group; def m_x86_Features_Group : OptionGroup<"">, Group; def u_Group : OptionGroup<"">; def pedantic_Group : OptionGroup<"">, Group; def reserved_lib_Group : OptionGroup<"">; // Temporary groups for clang options which we know we don't support, // but don't want to verbosely warn the user about. def clang_ignored_f_Group : OptionGroup<"">, Group; def clang_ignored_m_Group : OptionGroup<"">, Group; ///////// // Options // The internal option ID must be a valid C++ identifier and results in a // clang::driver::options::OPT_XX enum constant for XX. // // We want to unambiguously be able to refer to options from the driver source // code, for this reason the option name is mangled into an ID. This mangling // isn't guaranteed to have an inverse, but for practical purposes it does. // // The mangling scheme is to ignore the leading '-', and perform the following // substitutions: // _ => __ // - => _ // # => _HASH // , => _COMMA // = => _EQ // C++ => CXX // . => _ // Developer Driver Options def ccc_Group : OptionGroup<"">; def ccc_driver_Group : OptionGroup<"">, Group, HelpText<"DRIVER OPTIONS">; def ccc_debug_Group : OptionGroup<"">, Group, HelpText<"DEBUG/DEVELOPMENT OPTIONS">; class CCCDriverOpt : Group, Flags<[DriverOption, HelpHidden]>; def ccc_cxx : Flag<"-ccc-cxx">, CCCDriverOpt, HelpText<"Act as a C++ driver">; def ccc_echo : Flag<"-ccc-echo">, CCCDriverOpt, HelpText<"Echo commands before running them">; def ccc_gcc_name : Separate<"-ccc-gcc-name">, CCCDriverOpt, HelpText<"Name for native GCC compiler">, MetaVarName<"">; def ccc_clang_cxx : Flag<"-ccc-clang-cxx">, CCCDriverOpt, HelpText<"Enable the clang compiler for C++">; def ccc_no_clang_cxx : Flag<"-ccc-no-clang-cxx">, CCCDriverOpt, HelpText<"Disable the clang compiler for C++">; def ccc_no_clang : Flag<"-ccc-no-clang">, CCCDriverOpt, HelpText<"Disable the clang compiler">; def ccc_no_clang_cpp : Flag<"-ccc-no-clang-cpp">, CCCDriverOpt, HelpText<"Disable the clang preprocessor">; def ccc_clang_archs : Separate<"-ccc-clang-archs">, CCCDriverOpt, HelpText<"Comma separate list of architectures to use the clang compiler for">, MetaVarName<"">; def ccc_pch_is_pch : Flag<"-ccc-pch-is-pch">, CCCDriverOpt, HelpText<"Use lazy PCH for precompiled headers">; def ccc_pch_is_pth : Flag<"-ccc-pch-is-pth">, CCCDriverOpt, HelpText<"Use pretokenized headers for precompiled headers">; class CCCDebugOpt : Group, Flags<[DriverOption, HelpHidden]>; def ccc_install_dir : Separate<"-ccc-install-dir">, CCCDebugOpt, HelpText<"Simulate installation in the given directory">; def ccc_print_options : Flag<"-ccc-print-options">, CCCDebugOpt, HelpText<"Dump parsed command line arguments">; def ccc_print_phases : Flag<"-ccc-print-phases">, CCCDebugOpt, HelpText<"Dump list of actions to perform">; def ccc_print_bindings : Flag<"-ccc-print-bindings">, CCCDebugOpt, HelpText<"Show bindings of tools to actions">; def ccc_arcmt_check : Flag<"-ccc-arcmt-check">, CCCDriverOpt, HelpText<"Check for ARC migration issues that need manual handling">; def ccc_arcmt_modify : Flag<"-ccc-arcmt-modify">, CCCDriverOpt, HelpText<"Apply modifications to files to conform to ARC">; def ccc_arrmt_check : Flag<"-ccc-arrmt-check">, Alias; def ccc_arrmt_modify : Flag<"-ccc-arrmt-modify">, Alias; def ccc_arcmt_migrate : Separate<"-ccc-arcmt-migrate">, CCCDriverOpt, HelpText<"Apply modifications and produces temporary files that conform to ARC">; def arcmt_migrate_report_output : Separate<"-arcmt-migrate-report-output">, HelpText<"Output path for the plist report">; def arcmt_migrate_emit_arc_errors : Flag<"-arcmt-migrate-emit-errors">, HelpText<"Emit ARC errors even if the migrator can fix them">; def _migrate : Flag<"--migrate">, Flags<[DriverOption]>, HelpText<"Run the migrator">; def ccc_objcmt_migrate : Separate<"-ccc-objcmt-migrate">, CCCDriverOpt, HelpText<"Apply modifications and produces temporary files to migrate to " "modern ObjC syntax">; def objcmt_migrate_literals : Flag<"-objcmt-migrate-literals">, HelpText<"Enable migration to modern ObjC literals">; def objcmt_migrate_subscripting : Flag<"-objcmt-migrate-subscripting">, HelpText<"Enable migration to modern ObjC subscripting">; // Make sure all other -ccc- options are rejected. def ccc_ : Joined<"-ccc-">, Group, Flags<[Unsupported]>; // Standard Options def _HASH_HASH_HASH : Flag<"-###">, Flags<[DriverOption]>, HelpText<"Print the commands to run for this compilation">; // The '--' option is here for the sake of compatibility with gcc, but is // being ignored by the driver. def _DASH_DASH : Flag<"--">, Flags<[DriverOption]>; def A : JoinedOrSeparate<"-A">; def B : JoinedOrSeparate<"-B">; def CC : Flag<"-CC">; def C : Flag<"-C">; def D : JoinedOrSeparate<"-D">, Group; def E : Flag<"-E">, Flags<[DriverOption]>, HelpText<"Only run the preprocessor">; def F : JoinedOrSeparate<"-F">, Flags<[RenderJoined]>; def G : Separate<"-G">, Flags<[DriverOption]>; def H : Flag<"-H">; def I_ : Flag<"-I-">, Group; def I : JoinedOrSeparate<"-I">, Group; def L : JoinedOrSeparate<"-L">, Flags<[RenderJoined]>; def MD : Flag<"-MD">, Group; def MF : JoinedOrSeparate<"-MF">, Group; def MG : Flag<"-MG">, Group; def MMD : Flag<"-MMD">, Group; def MM : Flag<"-MM">, Group; def MP : Flag<"-MP">, Group; def MQ : JoinedOrSeparate<"-MQ">, Group; def MT : JoinedOrSeparate<"-MT">, Group; def Mach : Flag<"-Mach">; def M : Flag<"-M">, Group; def O0 : Joined<"-O0">, Group; def O4 : Joined<"-O4">, Group; def ObjCXX : Flag<"-ObjC++">, Flags<[DriverOption]>, HelpText<"Treat source input files as Objective-C++ inputs">; def ObjC : Flag<"-ObjC">, Flags<[DriverOption]>, HelpText<"Treat source input files as Objective-C inputs">; def O : Joined<"-O">, Group; def P : Flag<"-P">; def Qn : Flag<"-Qn">; def Qunused_arguments : Flag<"-Qunused-arguments">, Flags<[DriverOption]>, HelpText<"Don't emit warning for unused driver arguments">; def Q : Flag<"-Q">; def R : Flag<"-R">; def S : Flag<"-S">, Flags<[DriverOption]>, HelpText<"Only run preprocess and compilation steps">; def Tbss : JoinedOrSeparate<"-Tbss">, Group; def Tdata : JoinedOrSeparate<"-Tdata">, Group; def Ttext : JoinedOrSeparate<"-Ttext">, Group; def T : JoinedOrSeparate<"-T">, Group; def U : JoinedOrSeparate<"-U">, Group; def V : JoinedOrSeparate<"-V">, Flags<[DriverOption, Unsupported]>; def Wa_COMMA : CommaJoined<"-Wa,">, HelpText<"Pass the comma separated arguments in to the assembler">, MetaVarName<"">; def Wall : Flag<"-Wall">, Group; def Wdeprecated : Flag<"-Wdeprecated">, Group; def Wno_deprecated : Flag<"-Wno-deprecated">, Group; def Wextra : Flag<"-Wextra">, Group; def Wl_COMMA : CommaJoined<"-Wl,">, Flags<[LinkerInput, RenderAsInput]>, HelpText<"Pass the comma separated arguments in to the linker">, MetaVarName<"">; def Wno_nonportable_cfstrings : Joined<"-Wno-nonportable-cfstrings">, Group; def Wnonportable_cfstrings : Joined<"-Wnonportable-cfstrings">, Group; def Wp_COMMA : CommaJoined<"-Wp,">, HelpText<"Pass the comma separated arguments in to the preprocessor">, MetaVarName<"">; def Wwrite_strings : Flag<"-Wwrite-strings">, Group; def Wno_write_strings : Flag<"-Wno-write-strings">, Group; def W_Joined : Joined<"-W">, Group; def Xanalyzer : Separate<"-Xanalyzer">, HelpText<"Pass to the static analyzer">, MetaVarName<"">; def Xarch__ : JoinedAndSeparate<"-Xarch_">, Flags<[DriverOption]>; def Xassembler : Separate<"-Xassembler">, HelpText<"Pass to the assembler">, MetaVarName<"">; def Xclang : Separate<"-Xclang">, HelpText<"Pass to the clang compiler">, MetaVarName<"">, Flags<[NoForward]>; def Xlinker : Separate<"-Xlinker">, Flags<[LinkerInput, RenderAsInput]>, HelpText<"Pass to the linker">, MetaVarName<"">; def Xpreprocessor : Separate<"-Xpreprocessor">, HelpText<"Pass to the preprocessor">, MetaVarName<"">; def X_Flag : Flag<"-X">; def X_Joined : Joined<"-X">; def Z_Flag : Flag<"-Z">; def Z_Joined : Joined<"-Z">; def all__load : Flag<"-all_load">; def allowable__client : Separate<"-allowable_client">; def ansi : Flag<"-ansi">, Group; def arch__errors__fatal : Flag<"-arch_errors_fatal">; def arch : Separate<"-arch">, Flags<[DriverOption]>; def arch__only : Separate<"-arch_only">; def a : Joined<"-a">, Group; def bind__at__load : Flag<"-bind_at_load">; def bundle__loader : Separate<"-bundle_loader">; def bundle : Flag<"-bundle">; def b : JoinedOrSeparate<"-b">, Flags<[Unsupported]>; def client__name : JoinedOrSeparate<"-client_name">; def combine : Flag<"-combine">, Flags<[DriverOption, Unsupported]>; def compatibility__version : JoinedOrSeparate<"-compatibility_version">; def coverage : Flag<"-coverage">; def cpp_precomp : Flag<"-cpp-precomp">, Group; def current__version : JoinedOrSeparate<"-current_version">; def cxx_isystem : JoinedOrSeparate<"-cxx-isystem">, Group; def c : Flag<"-c">, Flags<[DriverOption]>, HelpText<"Only run preprocess, compile, and assemble steps">; def dA : Flag<"-dA">, Group; def dD : Flag<"-dD">, Group; def dM : Flag<"-dM">, Group; def dead__strip : Flag<"-dead_strip">; def dependency_file : Separate<"-dependency-file">; def dumpmachine : Flag<"-dumpmachine">; def dumpspecs : Flag<"-dumpspecs">, Flags<[Unsupported]>; def dumpversion : Flag<"-dumpversion">; def dylib__file : Separate<"-dylib_file">; def dylinker__install__name : JoinedOrSeparate<"-dylinker_install_name">; def dylinker : Flag<"-dylinker">; def dynamiclib : Flag<"-dynamiclib">; def dynamic : Flag<"-dynamic">, Flags<[NoArgumentUnused]>; def d_Flag : Flag<"-d">, Group; def d_Joined : Joined<"-d">, Group; def emit_ast : Flag<"-emit-ast">, HelpText<"Emit Clang AST files for source inputs">; def emit_llvm : Flag<"-emit-llvm">, HelpText<"Use the LLVM representation for assembler and object files">; def exported__symbols__list : Separate<"-exported_symbols_list">; def e : JoinedOrSeparate<"-e">; def fPIC : Flag<"-fPIC">, Group; def fno_PIC : Flag<"-fno-PIC">, Group; def fPIE : Flag<"-fPIE">, Group; def fno_PIE : Flag<"-fno-PIE">, Group; def faccess_control : Flag<"-faccess-control">, Group; def fallow_unsupported : Flag<"-fallow-unsupported">, Group; def faltivec : Flag<"-faltivec">, Group; def fapple_kext : Flag<"-fapple-kext">, Group; def fapple_pragma_pack : Flag<"-fapple-pragma-pack">, Group; def faddress_sanitizer : Flag<"-faddress-sanitizer">, Group; def fno_address_sanitizer : Flag<"-fno-address-sanitizer">, Group; def fthread_sanitizer : Flag<"-fthread-sanitizer">, Group; def fno_thread_sanitizer : Flag<"-fno-thread-sanitizer">, Group; def fasm : Flag<"-fasm">, Group; def fasm_blocks : Flag<"-fasm-blocks">, Group; def fno_asm_blocks : Flag<"-fno-asm-blocks">, Group; def fassume_sane_operator_new : Flag<"-fassume-sane-operator-new">, Group; def fastcp : Flag<"-fastcp">, Group; def fastf : Flag<"-fastf">, Group; def fast : Flag<"-fast">, Group; def fasynchronous_unwind_tables : Flag<"-fasynchronous-unwind-tables">, Group; def fblocks : Flag<"-fblocks">, Group; def fbootclasspath_EQ : Joined<"-fbootclasspath=">, Group; def fborland_extensions : Flag<"-fborland-extensions">, Group; def fbuiltin_strcat : Flag<"-fbuiltin-strcat">, Group; def fbuiltin_strcpy : Flag<"-fbuiltin-strcpy">, Group; def fbuiltin : Flag<"-fbuiltin">, Group; def fcaret_diagnostics : Flag<"-fcaret-diagnostics">, Group; def fcatch_undefined_behavior : Flag<"-fcatch-undefined-behavior">, Group, HelpText<"Generate runtime checks for undefined behavior.">; def fclasspath_EQ : Joined<"-fclasspath=">, Group; def fcolor_diagnostics : Flag<"-fcolor-diagnostics">, Group; def fcommon : Flag<"-fcommon">, Group; def fcompile_resource_EQ : Joined<"-fcompile-resource=">, Group; def fconstant_cfstrings : Flag<"-fconstant-cfstrings">, Group; def fconstant_string_class_EQ : Joined<"-fconstant-string-class=">, Group; def fconstexpr_depth_EQ : Joined<"-fconstexpr-depth=">, Group; def fconstexpr_backtrace_limit_EQ : Joined<"-fconstexpr-backtrace-limit=">, Group; def fno_crash_diagnostics : Flag<"-fno-crash-diagnostics">, Group, Flags<[NoArgumentUnused]>; def fcreate_profile : Flag<"-fcreate-profile">, Group; def fcxx_exceptions: Flag<"-fcxx-exceptions">, Group; def fcxx_modules : Flag <"-fcxx-modules">, Group, Flags<[NoForward]>; def fdebug_pass_arguments : Flag<"-fdebug-pass-arguments">, Group; def fdebug_pass_structure : Flag<"-fdebug-pass-structure">, Group; def fdiagnostics_fixit_info : Flag<"-fdiagnostics-fixit-info">, Group; def fdiagnostics_print_source_range_info : Flag<"-fdiagnostics-print-source-range-info">, Group; def fdiagnostics_parseable_fixits : Flag<"-fdiagnostics-parseable-fixits">, Group; def fdiagnostics_show_option : Flag<"-fdiagnostics-show-option">, Group; def fdiagnostics_show_note_include_stack : Flag<"-fdiagnostics-show-note-include-stack">, Group; def fdiagnostics_format_EQ : Joined<"-fdiagnostics-format=">, Group; def fdiagnostics_show_category_EQ : Joined<"-fdiagnostics-show-category=">, Group; def fdollars_in_identifiers : Flag<"-fdollars-in-identifiers">, Group; def fdwarf2_cfi_asm : Flag<"-fdwarf2-cfi-asm">, Group; def fno_dwarf2_cfi_asm : Flag<"-fno-dwarf2-cfi-asm">, Group; def fdwarf_directory_asm : Flag<"-fdwarf-directory-asm">, Group; def fno_dwarf_directory_asm : Flag<"-fno-dwarf-directory-asm">, Group; def felide_constructors : Flag<"-felide-constructors">, Group; def feliminate_unused_debug_symbols : Flag<"-feliminate-unused-debug-symbols">, Group; def femit_all_decls : Flag<"-femit-all-decls">, Group; def fencoding_EQ : Joined<"-fencoding=">, Group; def ferror_limit_EQ : Joined<"-ferror-limit=">, Group; def fexceptions : Flag<"-fexceptions">, Group; def fextdirs_EQ : Joined<"-fextdirs=">, Group; def fhosted : Flag<"-fhosted">, Group; def ffast_math : Flag<"-ffast-math">, Group; def fmath_errno : Flag<"-fmath-errno">, Group; def fno_math_errno : Flag<"-fno-math-errno">, Group; def fsignaling_math : Flag<"-fsignaling-math">, Group; def fno_signaling_math : Flag<"-fno-signaling-math">, Group; def funsafe_math_optimizations : Flag<"-funsafe-math-optimizations">, Group; def fno_unsafe_math_optimizations : Flag<"-fno-unsafe-math-optimizations">, Group; def fassociative_math : Flag<"-fassociative-math">, Group; def fno_associative_math : Flag<"-fno-associative-math">, Group; def freciprocal_math : Flag<"-freciprocal-math">, Group; def fno_reciprocal_math : Flag<"-fno-reciprocal-math">, Group; def ffinite_math_only : Flag<"-ffinite-math-only">, Group; def fno_finite_math_only : Flag<"-fno-finite-math-only">, Group; def fsigned_zeros : Flag<"-fsigned-zeros">, Group; def fno_signed_zeros : Flag<"-fno-signed-zeros">, Group; def fhonor_nans : Flag<"-fhonor-nans">, Group; def fno_honor_nans : Flag<"-fno-honor-nans">, Group; def fhonor_infinities : Flag<"-fhonor-infinities">, Group; def fno_honor_infinities : Flag<"-fno-honor-infinities">, Group; // Sic. This option was misspelled originally. def fhonor_infinites : Flag<"-fhonor-infinites">, Group, Alias; def fno_honor_infinites : Flag<"-fno-honor-infinites">, Group, Alias; def ftrapping_math : Flag<"-ftrapping-math">, Group; def fno_trapping_math : Flag<"-fno-trapping-math">, Group; def ffor_scope : Flag<"-ffor-scope">, Group; def fno_for_scope : Flag<"-fno-for-scope">, Group; def ffreestanding : Flag<"-ffreestanding">, Group; def fgnu_keywords : Flag<"-fgnu-keywords">, Group; def fgnu89_inline : Flag<"-fgnu89-inline">, Group; def fno_gnu89_inline : Flag<"-fno-gnu89-inline">, Group; def fgnu_runtime : Flag<"-fgnu-runtime">, Group; def fheinous_gnu_extensions : Flag<"-fheinous-gnu-extensions">; def filelist : Separate<"-filelist">, Flags<[LinkerInput]>; def findirect_virtual_calls : Flag<"-findirect-virtual-calls">, Alias; def finline_functions : Flag<"-finline-functions">, Group; def finline : Flag<"-finline">, Group; def finstrument_functions : Flag<"-finstrument-functions">, Group; def fkeep_inline_functions : Flag<"-fkeep-inline-functions">, Group; def flat__namespace : Flag<"-flat_namespace">; def flax_vector_conversions : Flag<"-flax-vector-conversions">, Group; def flimit_debug_info : Flag<"-flimit-debug-info">, Group, HelpText<"Limit debug information produced to reduce size of debug binary">; def flimited_precision_EQ : Joined<"-flimited-precision=">, Group; def flto : Flag<"-flto">, Group; def fno_lto : Flag<"-fno-lto">, Group; def fmacro_backtrace_limit_EQ : Joined<"-fmacro-backtrace-limit=">, Group; def fmerge_all_constants : Flag<"-fmerge-all-constants">, Group; def fmessage_length_EQ : Joined<"-fmessage-length=">, Group; def fms_extensions : Flag<"-fms-extensions">, Group; def fms_compatibility : Flag<"-fms-compatibility">, Group; def fmsc_version : Joined<"-fmsc-version=">, Group; def fdelayed_template_parsing : Flag<"-fdelayed-template-parsing">, Group; def fmodule_cache_path : Separate<"-fmodule-cache-path">, Group, Flags<[NoForward]>; def fmodules : Flag <"-fmodules">, Group, Flags<[NoForward]>; def fmudflapth : Flag<"-fmudflapth">, Group; def fmudflap : Flag<"-fmudflap">, Group; def fnested_functions : Flag<"-fnested-functions">, Group; def fnext_runtime : Flag<"-fnext-runtime">, Group; def fno_access_control : Flag<"-fno-access-control">, Group; def fno_apple_pragma_pack : Flag<"-fno-apple-pragma-pack">, Group; def fno_asm : Flag<"-fno-asm">, Group; def fno_asynchronous_unwind_tables : Flag<"-fno-asynchronous-unwind-tables">, Group; def fno_assume_sane_operator_new : Flag<"-fno-assume-sane-operator-new">, Group; def fno_blocks : Flag<"-fno-blocks">, Group; def fno_borland_extensions : Flag<"-fno-borland-extensions">, Group; def fno_builtin_strcat : Flag<"-fno-builtin-strcat">, Group; def fno_builtin_strcpy : Flag<"-fno-builtin-strcpy">, Group; def fno_builtin : Flag<"-fno-builtin">, Group; def fno_caret_diagnostics : Flag<"-fno-caret-diagnostics">, Group; def fno_color_diagnostics : Flag<"-fno-color-diagnostics">, Group; def fno_common : Flag<"-fno-common">, Group; def fno_constant_cfstrings : Flag<"-fno-constant-cfstrings">, Group; def fno_cxx_exceptions: Flag<"-fno-cxx-exceptions">, Group; def fno_cxx_modules : Flag <"-fno-cxx-modules">, Group, Flags<[NoForward]>; def fno_diagnostics_fixit_info : Flag<"-fno-diagnostics-fixit-info">, Group; def fno_diagnostics_show_option : Flag<"-fno-diagnostics-show-option">, Group; def fno_diagnostics_show_note_include_stack : Flag<"-fno-diagnostics-show-note-include-stack">, Group; def fno_dollars_in_identifiers : Flag<"-fno-dollars-in-identifiers">, Group; def fno_elide_constructors : Flag<"-fno-elide-constructors">, Group; def fno_eliminate_unused_debug_symbols : Flag<"-fno-eliminate-unused-debug-symbols">, Group; def fno_exceptions : Flag<"-fno-exceptions">, Group; def fno_gnu_keywords : Flag<"-fno-gnu-keywords">, Group; def fno_inline_functions : Flag<"-fno-inline-functions">, Group; def fno_inline : Flag<"-fno-inline">, Group; def fno_keep_inline_functions : Flag<"-fno-keep-inline-functions">, Group; def fno_lax_vector_conversions : Flag<"-fno-lax-vector-conversions">, Group; def fno_limit_debug_info : Flag<"-fno-limit-debug-info">, Group, HelpText<"Do not limit debug information produced to reduce size of debug binary">; def fno_merge_all_constants : Flag<"-fno-merge-all-constants">, Group; def fno_modules : Flag <"-fno-modules">, Group, Flags<[NoForward]>; def fno_ms_extensions : Flag<"-fno-ms-extensions">, Group; def fno_ms_compatibility : Flag<"-fno-ms-compatibility">, Group; def fno_delayed_template_parsing : Flag<"-fno-delayed-template-parsing">, Group; def fno_objc_exceptions: Flag<"-fno-objc-exceptions">, Group; def fno_objc_legacy_dispatch : Flag<"-fno-objc-legacy-dispatch">, Group; def fno_omit_frame_pointer : Flag<"-fno-omit-frame-pointer">, Group; def fno_operator_names : Flag<"-fno-operator-names">, Group; def fno_pascal_strings : Flag<"-fno-pascal-strings">, Group; def fno_rtti : Flag<"-fno-rtti">, Group; def fno_short_enums : Flag<"-fno-short-enums">, Group; def fno_show_column : Flag<"-fno-show-column">, Group; def fno_show_source_location : Flag<"-fno-show-source-location">, Group; def fno_spell_checking : Flag<"-fno-spell-checking">, Group; def fno_stack_protector : Flag<"-fno-stack-protector">, Group; def fno_strict_aliasing : Flag<"-fno-strict-aliasing">, Group; def fno_strict_enums : Flag<"-fno-strict-enums">, Group; def fno_strict_overflow : Flag<"-fno-strict-overflow">, Group; def fno_threadsafe_statics : Flag<"-fno-threadsafe-statics">, Group; def fno_use_cxa_atexit : Flag<"-fno-use-cxa-atexit">, Group; def fno_unit_at_a_time : Flag<"-fno-unit-at-a-time">, Group; def fno_unwind_tables : Flag<"-fno-unwind-tables">, Group; def fno_verbose_asm : Flag<"-fno-verbose-asm">, Group; def fno_working_directory : Flag<"-fno-working-directory">, Group; def fno_wrapv : Flag<"-fno-wrapv">, Group; def fno_zero_initialized_in_bss : Flag<"-fno-zero-initialized-in-bss">, Group; def fobjc_arc : Flag<"-fobjc-arc">, Group; def fno_objc_arc : Flag<"-fno-objc-arc">, Group; def fobjc_arc_exceptions : Flag<"-fobjc-arc-exceptions">, Group; def fno_objc_arc_exceptions : Flag<"-fno-objc-arc-exceptions">, Group; def fobjc_atdefs : Flag<"-fobjc-atdefs">, Group; def fobjc_call_cxx_cdtors : Flag<"-fobjc-call-cxx-cdtors">, Group; def fobjc_exceptions: Flag<"-fobjc-exceptions">, Group; def fobjc_gc_only : Flag<"-fobjc-gc-only">, Group; def fobjc_gc : Flag<"-fobjc-gc">, Group; def fobjc_legacy_dispatch : Flag<"-fobjc-legacy-dispatch">, Group; def fobjc_new_property : Flag<"-fobjc-new-property">, Group; def fobjc_infer_related_result_type : Flag<"-fobjc-infer-related-result-type">, Group; def fno_objc_infer_related_result_type : Flag< "-fno-objc-infer-related-result-type">, Group; def fobjc_link_runtime: Flag<"-fobjc-link-runtime">, Group; // Objective-C ABI options. def fobjc_abi_version_EQ : Joined<"-fobjc-abi-version=">, Group; def fobjc_nonfragile_abi_version_EQ : Joined<"-fobjc-nonfragile-abi-version=">, Group; def fobjc_nonfragile_abi : Flag<"-fobjc-nonfragile-abi">, Group; def fno_objc_nonfragile_abi : Flag<"-fno-objc-nonfragile-abi">, Group; def fobjc_sender_dependent_dispatch : Flag<"-fobjc-sender-dependent-dispatch">, Group; def fobjc : Flag<"-fobjc">, Group; def fomit_frame_pointer : Flag<"-fomit-frame-pointer">, Group; def fopenmp : Flag<"-fopenmp">, Group; def fno_optimize_sibling_calls : Flag<"-fno-optimize-sibling-calls">, Group; def foptimize_sibling_calls : Flag<"-foptimize-sibling-calls">, Group; def force__cpusubtype__ALL : Flag<"-force_cpusubtype_ALL">; def force__flat__namespace : Flag<"-force_flat_namespace">; def force__load : Separate<"-force_load">; def foutput_class_dir_EQ : Joined<"-foutput-class-dir=">, Group; def fpack_struct : Flag<"-fpack-struct">, Group; def fno_pack_struct : Flag<"-fno-pack-struct">, Group; def fpack_struct_EQ : Joined<"-fpack-struct=">, Group; def fpascal_strings : Flag<"-fpascal-strings">, Group; def fpch_preprocess : Flag<"-fpch-preprocess">, Group; def fpic : Flag<"-fpic">, Group; def fno_pic : Flag<"-fno-pic">, Group; def fpie : Flag<"-fpie">, Group; def fno_pie : Flag<"-fno-pie">, Group; def fprofile_arcs : Flag<"-fprofile-arcs">, Group; def fprofile_generate : Flag<"-fprofile-generate">, Group; def framework : Separate<"-framework">, Flags<[LinkerInput]>; def frandom_seed_EQ : Joined<"-frandom-seed=">, Group; def frtti : Flag<"-frtti">, Group; def fsched_interblock : Flag<"-fsched-interblock">, Group; def fshort_enums : Flag<"-fshort-enums">, Group; def freorder_blocks : Flag<"-freorder-blocks">, Group; def fshort_wchar : Flag<"-fshort-wchar">, Group; def fshow_overloads_EQ : Joined<"-fshow-overloads=">, Group; def fshow_column : Flag<"-fshow-column">, Group; def fshow_source_location : Flag<"-fshow-source-location">, Group; def fspell_checking : Flag<"-fspell-checking">, Group; def fsigned_bitfields : Flag<"-fsigned-bitfields">, Group; def fsigned_char : Flag<"-fsigned-char">, Group; def fstack_protector_all : Flag<"-fstack-protector-all">, Group; def fstack_protector : Flag<"-fstack-protector">, Group; def fstrict_aliasing : Flag<"-fstrict-aliasing">, Group; def fstrict_enums : Flag<"-fstrict-enums">, Group; def fstrict_overflow : Flag<"-fstrict-overflow">, Group; def fsyntax_only : Flag<"-fsyntax-only">, Flags<[DriverOption]>; def ftabstop_EQ : Joined<"-ftabstop=">, Group; def ftemplate_depth_EQ : Joined<"-ftemplate-depth=">, Group; def ftemplate_depth_ : Joined<"-ftemplate-depth-">, Group; def ftemplate_backtrace_limit_EQ : Joined<"-ftemplate-backtrace-limit=">, Group; def ftest_coverage : Flag<"-ftest-coverage">, Group; def Wlarge_by_value_copy_def : Flag<"-Wlarge-by-value-copy">; def Wlarge_by_value_copy_EQ : Joined<"-Wlarge-by-value-copy=">; // Just silence warnings about -Wlarger-than, -Wframe-larger-than for now. def Wlarger_than : Separate<"-Wlarger-than">, Group; def Wlarger_than_EQ : Joined<"-Wlarger-than=">, Alias; def Wlarger_than_ : Joined<"-Wlarger-than-">, Alias; def Wframe_larger_than : Separate<"-Wframe-larger-than">, Group; def Wframe_larger_than_EQ : Joined<"-Wframe-larger-than=">, Alias; def fterminated_vtables : Flag<"-fterminated-vtables">, Alias; def fthreadsafe_statics : Flag<"-fthreadsafe-statics">, Group; def ftime_report : Flag<"-ftime-report">, Group; def ftrapv : Flag<"-ftrapv">, Group; def ftrapv_handler_EQ : Joined<"-ftrapv-handler=">, Group; def ftrap_function_EQ : Joined<"-ftrap-function=">, Group, HelpText<"Issue call to specified function rather than a trap instruction">; def funit_at_a_time : Flag<"-funit-at-a-time">, Group; def funroll_loops : Flag<"-funroll-loops">, Group; def funsigned_bitfields : Flag<"-funsigned-bitfields">, Group; def funsigned_char : Flag<"-funsigned-char">, Group; def funwind_tables : Flag<"-funwind-tables">, Group; def fuse_cxa_atexit : Flag<"-fuse-cxa-atexit">, Group; def fverbose_asm : Flag<"-fverbose-asm">, Group; def fvisibility_EQ : Joined<"-fvisibility=">, Group; def fvisibility_inlines_hidden : Flag<"-fvisibility-inlines-hidden">, Group; def fwrapv : Flag<"-fwrapv">, Group; def fwritable_strings : Flag<"-fwritable-strings">, Group; def fzero_initialized_in_bss : Flag<"-fzero-initialized-in-bss">, Group; def ffunction_sections: Flag <"-ffunction-sections">, Group; def fdata_sections : Flag <"-fdata-sections">, Group; def f : Joined<"-f">, Group; def g0 : Flag<"-g0">, Group; def g2 : Flag<"-g2">, Group; def g3 : Flag<"-g3">, Group; def gdwarf2 : Flag<"-gdwarf-2">, Group; def gfull : Flag<"-gfull">, Group; def ggdb : Flag<"-ggdb">, Group; def gstabs : Flag<"-gstabs">, Group; def gstabsplus : Flag<"-gstabs+">, Group; def gstabs1 : Flag<"-gstabs1">, Group; def gstabs2 : Flag<"-gstabs2">, Group; def gused : Flag<"-gused">, Group; def g_Flag : Flag<"-g">, Group; def headerpad__max__install__names : Joined<"-headerpad_max_install_names">; def index_header_map : Flag<"-index-header-map">; def idirafter : JoinedOrSeparate<"-idirafter">, Group; def iframework : Joined<"-iframework">, Group; def imacros : JoinedOrSeparate<"-imacros">, Group; def image__base : Separate<"-image_base">; def include_ : JoinedOrSeparate<"-include">, Group, EnumName<"include">; def include_pch : Separate<"-include-pch">, Group; def init : Separate<"-init">; def install__name : Separate<"-install_name">; def integrated_as : Flag<"-integrated-as">, Flags<[DriverOption]>; def iprefix : JoinedOrSeparate<"-iprefix">, Group; def iquote : JoinedOrSeparate<"-iquote">, Group; def isysroot : JoinedOrSeparate<"-isysroot">, Group; def isystem : JoinedOrSeparate<"-isystem">, Group; def iwithprefixbefore : JoinedOrSeparate<"-iwithprefixbefore">, Group; def iwithprefix : JoinedOrSeparate<"-iwithprefix">, Group; def iwithsysroot : JoinedOrSeparate<"-iwithsysroot">, Group; def i : Joined<"-i">, Group; def keep__private__externs : Flag<"-keep_private_externs">; def l : JoinedOrSeparate<"-l">, Flags<[LinkerInput, RenderJoined]>; def lazy__framework : Separate<"-lazy_framework">, Flags<[LinkerInput]>; def lazy__library : Separate<"-lazy_library">, Flags<[LinkerInput]>; def m32 : Flag<"-m32">, Group, Flags<[DriverOption]>; def mqdsp6_compat : Flag<"-mqdsp6-compat">, Group, Flags<[DriverOption]>; def m3dnowa : Flag<"-m3dnowa">, Group; def m3dnow : Flag<"-m3dnow">, Group; def m64 : Flag<"-m64">, Group, Flags<[DriverOption]>; def mabi_EQ : Joined<"-mabi=">, Group; def march_EQ : Joined<"-march=">, Group; def mcmodel_EQ : Joined<"-mcmodel=">, Group; def mconstant_cfstrings : Flag<"-mconstant-cfstrings">, Group; def mcpu_EQ : Joined<"-mcpu=">, Group; def mdynamic_no_pic : Joined<"-mdynamic-no-pic">, Group; def mfix_and_continue : Flag<"-mfix-and-continue">, Group; def mfloat_abi_EQ : Joined<"-mfloat-abi=">, Group; def mfpmath_EQ : Joined<"-mfpmath=">, Group; def mfpu_EQ : Joined<"-mfpu=">, Group; def mglobal_merge : Flag<"-mglobal-merge">, Group; def mhard_float : Flag<"-mhard-float">, Group; def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group; def mios_version_min_EQ : Joined<"-mios-version-min=">, Alias; def mios_simulator_version_min_EQ : Joined<"-mios-simulator-version-min=">, Group; def mkernel : Flag<"-mkernel">, Group; def mlinker_version_EQ : Joined<"-mlinker-version=">, Flags<[NoForward]>; def mllvm : Separate<"-mllvm">; def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group; def mms_bitfields : Flag<"-mms-bitfields">, Group; def mstackrealign : Flag<"-mstackrealign">, Group; def mstack_alignment : Joined<"-mstack-alignment=">, Group; def mmmx : Flag<"-mmmx">, Group; def mno_3dnowa : Flag<"-mno-3dnowa">, Group; def mno_3dnow : Flag<"-mno-3dnow">, Group; def mno_constant_cfstrings : Flag<"-mno-constant-cfstrings">, Group; def mno_global_merge : Flag<"-mno-global-merge">, Group; def mno_mmx : Flag<"-mno-mmx">, Group; def mno_pascal_strings : Flag<"-mno-pascal-strings">, Group; def mno_red_zone : Flag<"-mno-red-zone">, Group; def mno_relax_all : Flag<"-mno-relax-all">, Group; def mno_rtd: Flag<"-mno-rtd">, Group; def mno_soft_float : Flag<"-mno-soft-float">, Group; def mno_stackrealign : Flag<"-mno-stackrealign">, Group; def mno_sse2 : Flag<"-mno-sse2">, Group; def mno_sse3 : Flag<"-mno-sse3">, Group; def mno_sse4a : Flag<"-mno-sse4a">, Group; def mno_sse4 : Flag<"-mno-sse4">, Group; def mno_sse4_1 : Flag<"-mno-sse4.1">, Group; def mno_sse4_2 : Flag<"-mno-sse4.2">, Group; def mno_sse : Flag<"-mno-sse">, Group; def mno_ssse3 : Flag<"-mno-ssse3">, Group; def mno_aes : Flag<"-mno-aes">, Group; def mno_avx : Flag<"-mno-avx">, Group; def mno_avx2 : Flag<"-mno-avx2">, Group; def mno_lzcnt : Flag<"-mno-lzcnt">, Group; def mno_bmi : Flag<"-mno-bmi">, Group; def mno_bmi2 : Flag<"-mno-bmi2">, Group; def mno_popcnt : Flag<"-mno-popcnt">, Group; def mno_fma4 : Flag<"-mno-fma4">, Group; def mno_thumb : Flag<"-mno-thumb">, Group; def marm : Flag<"-marm">, Alias; def mno_warn_nonportable_cfstrings : Flag<"-mno-warn-nonportable-cfstrings">, Group; def mno_omit_leaf_frame_pointer : Flag<"-mno-omit-leaf-frame-pointer">, Group; def momit_leaf_frame_pointer : Flag<"-momit-leaf-frame-pointer">, Group; def mpascal_strings : Flag<"-mpascal-strings">, Group; def mred_zone : Flag<"-mred-zone">, Group; def mregparm_EQ : Joined<"-mregparm=">, Group; def mrelax_all : Flag<"-mrelax-all">, Group; def mrtd: Flag<"-mrtd">, Group; def msmall_data_threshold_EQ : Joined <"-msmall-data-threshold=">, Group; def msoft_float : Flag<"-msoft-float">, Group; def msse2 : Flag<"-msse2">, Group; def msse3 : Flag<"-msse3">, Group; def msse4a : Flag<"-msse4a">, Group; def msse4 : Flag<"-msse4">, Group; def msse4_1 : Flag<"-msse4.1">, Group; def msse4_2 : Flag<"-msse4.2">, Group; def msse : Flag<"-msse">, Group; def mssse3 : Flag<"-mssse3">, Group; def maes : Flag<"-maes">, Group; def mavx : Flag<"-mavx">, Group; def mavx2 : Flag<"-mavx2">, Group; def mlzcnt : Flag<"-mlzcnt">, Group; def mbmi : Flag<"-mbmi">, Group; def mbmi2 : Flag<"-mbmi2">, Group; def mpopcnt : Flag<"-mpopcnt">, Group; def mfma4 : Flag<"-mfma4">, Group; def mthumb : Flag<"-mthumb">, Group; def mtune_EQ : Joined<"-mtune=">, Group; def multi__module : Flag<"-multi_module">; def multiply__defined__unused : Separate<"-multiply_defined_unused">; def multiply__defined : Separate<"-multiply_defined">; def mwarn_nonportable_cfstrings : Flag<"-mwarn-nonportable-cfstrings">, Group; def m_Separate : Separate<"-m">, Group; def m_Joined : Joined<"-m">, Group; def no_canonical_prefixes : Flag<"-no-canonical-prefixes">, Flags<[HelpHidden]>, HelpText<"Use relative instead of canonical paths">; def no_cpp_precomp : Flag<"-no-cpp-precomp">, Group; def no_integrated_as : Flag<"-no-integrated-as">, Flags<[DriverOption]>; def no_integrated_cpp : Flag<"-no-integrated-cpp">, Flags<[DriverOption]>; def no__dead__strip__inits__and__terms : Flag<"-no_dead_strip_inits_and_terms">; def nobuiltininc : Flag<"-nobuiltininc">; def nodefaultlibs : Flag<"-nodefaultlibs">; def nofixprebinding : Flag<"-nofixprebinding">; def nolibc : Flag<"-nolibc">; def nomultidefs : Flag<"-nomultidefs">; def noprebind : Flag<"-noprebind">; def noseglinkedit : Flag<"-noseglinkedit">; def nostartfiles : Flag<"-nostartfiles">; def nostdinc : Flag<"-nostdinc">; def nostdlibinc : Flag<"-nostdlibinc">; def nostdincxx : Flag<"-nostdinc++">; def nostdlib : Flag<"-nostdlib">; def object : Flag<"-object">; def o : JoinedOrSeparate<"-o">, Flags<[DriverOption, RenderAsInput]>, HelpText<"Write output to ">, MetaVarName<"">; def pagezero__size : JoinedOrSeparate<"-pagezero_size">; def pass_exit_codes : Flag<"-pass-exit-codes">, Flags<[Unsupported]>; def pedantic_errors : Flag<"-pedantic-errors">, Group; def pedantic : Flag<"-pedantic">, Group; def pg : Flag<"-pg">; def pipe : Flag<"-pipe">, HelpText<"Use pipes between commands, when possible">; def prebind__all__twolevel__modules : Flag<"-prebind_all_twolevel_modules">; def prebind : Flag<"-prebind">; def preload : Flag<"-preload">; def print_file_name_EQ : Joined<"-print-file-name=">, HelpText<"Print the full library path of ">, MetaVarName<"">; def print_ivar_layout : Flag<"-print-ivar-layout">; def print_libgcc_file_name : Flag<"-print-libgcc-file-name">, HelpText<"Print the library path for \"libgcc.a\"">; def print_multi_directory : Flag<"-print-multi-directory">; def print_multi_lib : Flag<"-print-multi-lib">; def print_multi_os_directory : Flag<"-print-multi-os-directory">; def print_prog_name_EQ : Joined<"-print-prog-name=">, HelpText<"Print the full program path of ">, MetaVarName<"">; def print_search_dirs : Flag<"-print-search-dirs">, HelpText<"Print the paths used for finding libraries and programs">; def private__bundle : Flag<"-private_bundle">; def pthreads : Flag<"-pthreads">; def pthread : Flag<"-pthread">; def p : Flag<"-p">; def pie : Flag<"-pie">; def read__only__relocs : Separate<"-read_only_relocs">; def remap : Flag<"-remap">; def rewrite_objc : Flag<"-rewrite-objc">, Flags<[DriverOption]>, HelpText<"Rewrite Objective-C source to C++">; def rewrite_legacy_objc : Flag<"-rewrite-legacy-objc">, Flags<[DriverOption]>, HelpText<"Rewrite Legacy Objective-C source to C++">; def rdynamic : Flag<"-rdynamic">; def rpath : Separate<"-rpath">, Flags<[LinkerInput]>; def rtlib_EQ : Joined<"-rtlib=">; def r : Flag<"-r">; def save_temps : Flag<"-save-temps">, Flags<[DriverOption]>, HelpText<"Save intermediate compilation results">; def sectalign : MultiArg<"-sectalign", 3>; def sectcreate : MultiArg<"-sectcreate", 3>; def sectobjectsymbols : MultiArg<"-sectobjectsymbols", 2>; def sectorder : MultiArg<"-sectorder", 3>; def seg1addr : JoinedOrSeparate<"-seg1addr">; def seg__addr__table__filename : Separate<"-seg_addr_table_filename">; def seg__addr__table : Separate<"-seg_addr_table">; def segaddr : MultiArg<"-segaddr", 2>; def segcreate : MultiArg<"-segcreate", 3>; def seglinkedit : Flag<"-seglinkedit">; def segprot : MultiArg<"-segprot", 3>; def segs__read__only__addr : Separate<"-segs_read_only_addr">; def segs__read__write__addr : Separate<"-segs_read_write_addr">; def segs__read__ : Joined<"-segs_read_">; def shared_libgcc : Flag<"-shared-libgcc">; def shared : Flag<"-shared">; def single__module : Flag<"-single_module">; def specs_EQ : Joined<"-specs=">; def specs : Separate<"-specs">, Flags<[Unsupported]>; def static_libgcc : Flag<"-static-libgcc">; def static_libstdcxx : Flag<"-static-libstdc++">; def static : Flag<"-static">, Flags<[NoArgumentUnused]>; def std_default_EQ : Joined<"-std-default=">; def std_EQ : Joined<"-std=">, Group; def stdlib_EQ : Joined<"-stdlib=">; def sub__library : JoinedOrSeparate<"-sub_library">; def sub__umbrella : JoinedOrSeparate<"-sub_umbrella">; def s : Flag<"-s">; def target : Separate<"-target">, Flags<[DriverOption]>, HelpText<"Generate code for the given target">; def gcc_toolchain : Separate<"-gcc-toolchain">, Flags<[DriverOption]>, HelpText<"Use the gcc toolchain at the given directory">; // We should deprecate the use of -ccc-host-triple, and then remove. def ccc_host_triple : Separate<"-ccc-host-triple">, Alias; def time : Flag<"-time">, HelpText<"Time individual commands">; def traditional_cpp : Flag<"-traditional-cpp">; def traditional : Flag<"-traditional">; def trigraphs : Flag<"-trigraphs">; def twolevel__namespace__hints : Flag<"-twolevel_namespace_hints">; def twolevel__namespace : Flag<"-twolevel_namespace">; def t : Flag<"-t">; def umbrella : Separate<"-umbrella">; def undefined : JoinedOrSeparate<"-undefined">, Group; def undef : Flag<"-undef">, Group; def unexported__symbols__list : Separate<"-unexported_symbols_list">; def u : JoinedOrSeparate<"-u">, Group; def use_gold_plugin : Flag<"-use-gold-plugin">; def v : Flag<"-v">, HelpText<"Show commands to run and use verbose output">; def verify : Flag<"-verify">, Flags<[DriverOption]>, HelpText<"Verify output using a verifier.">; def weak_l : Joined<"-weak-l">, Flags<[LinkerInput]>; def weak__framework : Separate<"-weak_framework">, Flags<[LinkerInput]>; def weak__library : Separate<"-weak_library">, Flags<[LinkerInput]>; def weak__reference__mismatches : Separate<"-weak_reference_mismatches">; def whatsloaded : Flag<"-whatsloaded">; def whyload : Flag<"-whyload">; def w : Flag<"-w">; def x : JoinedOrSeparate<"-x">, Flags<[DriverOption]>, HelpText<"Treat subsequent input files as having type ">, MetaVarName<"">; def y : Joined<"-y">; def working_directory : Separate<"-working-directory">, HelpText<"Resolve file paths relative to the specified directory">; def working_directory_EQ : Joined<"-working-directory=">, Alias; // Double dash options, which are usually an alias for one of the previous // options. def _CLASSPATH_EQ : Joined<"--CLASSPATH=">, Alias; def _CLASSPATH : Separate<"--CLASSPATH">, Alias; def _all_warnings : Flag<"--all-warnings">, Alias; def _analyze_auto : Flag<"--analyze-auto">, Flags<[DriverOption]>; def _analyzer_no_default_checks : Flag<"--analyzer-no-default-checks">, Flags<[DriverOption]>; def _analyzer_output : JoinedOrSeparate<"--analyzer-output">, Flags<[DriverOption]>; def _analyze : Flag<"--analyze">, Flags<[DriverOption]>, HelpText<"Run the static analyzer">; def _ansi : Flag<"--ansi">, Alias; def _assemble : Flag<"--assemble">, Alias; def _assert_EQ : Joined<"--assert=">, Alias; def _assert : Separate<"--assert">, Alias; def _bootclasspath_EQ : Joined<"--bootclasspath=">, Alias; def _bootclasspath : Separate<"--bootclasspath">, Alias; def _classpath_EQ : Joined<"--classpath=">, Alias; def _classpath : Separate<"--classpath">, Alias; def _combine : Flag<"--combine">, Alias; def _comments_in_macros : Flag<"--comments-in-macros">, Alias; def _comments : Flag<"--comments">, Alias; def _compile : Flag<"--compile">, Alias; def _constant_cfstrings : Flag<"--constant-cfstrings">; def _coverage : Flag<"--coverage">, Alias; def _debug_EQ : Joined<"--debug=">, Alias; def _debug : Flag<"--debug">, Alias; def _define_macro_EQ : Joined<"--define-macro=">, Alias; def _define_macro : Separate<"--define-macro">, Alias; def _dependencies : Flag<"--dependencies">, Alias; def _encoding_EQ : Joined<"--encoding=">, Alias; def _encoding : Separate<"--encoding">, Alias; def _entry : Flag<"--entry">, Alias; def _extdirs_EQ : Joined<"--extdirs=">, Alias; def _extdirs : Separate<"--extdirs">, Alias; def _extra_warnings : Flag<"--extra-warnings">, Alias; def _for_linker_EQ : Joined<"--for-linker=">, Alias; def _for_linker : Separate<"--for-linker">, Alias; def _force_link_EQ : Joined<"--force-link=">, Alias; def _force_link : Separate<"--force-link">, Alias; def _help_hidden : Flag<"--help-hidden">; def _help : Flag<"--help">, HelpText<"Display available options">; def _imacros_EQ : Joined<"--imacros=">, Alias; def _imacros : Separate<"--imacros">, Alias; def _include_barrier : Flag<"--include-barrier">, Alias; def _include_directory_after_EQ : Joined<"--include-directory-after=">, Alias; def _include_directory_after : Separate<"--include-directory-after">, Alias; def _include_directory_EQ : Joined<"--include-directory=">, Alias; def _include_directory : Separate<"--include-directory">, Alias; def _include_prefix_EQ : Joined<"--include-prefix=">, Alias; def _include_prefix : Separate<"--include-prefix">, Alias; def _include_with_prefix_after_EQ : Joined<"--include-with-prefix-after=">, Alias; def _include_with_prefix_after : Separate<"--include-with-prefix-after">, Alias; def _include_with_prefix_before_EQ : Joined<"--include-with-prefix-before=">, Alias; def _include_with_prefix_before : Separate<"--include-with-prefix-before">, Alias; def _include_with_prefix_EQ : Joined<"--include-with-prefix=">, Alias; def _include_with_prefix : Separate<"--include-with-prefix">, Alias; def _include_EQ : Joined<"--include=">, Alias; def _include : Separate<"--include">, Alias; def _language_EQ : Joined<"--language=">, Alias; def _language : Separate<"--language">, Alias; def _library_directory_EQ : Joined<"--library-directory=">, Alias; def _library_directory : Separate<"--library-directory">, Alias; def _machine__EQ : Joined<"--machine-=">, Alias; def _machine_ : Joined<"--machine-">, Alias; def _machine_EQ : Joined<"--machine=">, Alias; def _machine : Separate<"--machine">, Alias; def _no_integrated_cpp : Flag<"--no-integrated-cpp">, Alias; def _no_line_commands : Flag<"--no-line-commands">, Alias

; def _relocatable_pch : Flag<"--relocatable-pch">, HelpText<"Build a relocatable precompiled header">; def _resource_EQ : Joined<"--resource=">, Alias; def _resource : Separate<"--resource">, Alias; def _rtlib_EQ : Joined<"--rtlib=">, Alias; def _rtlib : Separate<"--rtlib">, Alias; def _save_temps : Flag<"--save-temps">, Alias; def _serialize_diags : Separate<"--serialize-diagnostics">, Flags<[DriverOption]>, HelpText<"Serialize compiler diagnostics to a file">; def _shared : Flag<"--shared">, Alias; def _signed_char : Flag<"--signed-char">, Alias; def _specs_EQ : Joined<"--specs=">, Alias; def _specs : Separate<"--specs">, Alias; def _static : Flag<"--static">, Alias; def _std_EQ : Joined<"--std=">, Alias; def _std : Separate<"--std">, Alias; def _stdlib_EQ : Joined<"--stdlib=">, Alias; def _stdlib : Separate<"--stdlib">, Alias; def _sysroot_EQ : Joined<"--sysroot=">; def _sysroot : Separate<"--sysroot">, Alias<_sysroot_EQ>; def _target_help : Flag<"--target-help">; def _trace_includes : Flag<"--trace-includes">, Alias; def _traditional_cpp : Flag<"--traditional-cpp">, Alias; def _traditional : Flag<"--traditional">, Alias; def _trigraphs : Flag<"--trigraphs">, Alias; def _undefine_macro_EQ : Joined<"--undefine-macro=">, Alias; def _undefine_macro : Separate<"--undefine-macro">, Alias; def _unsigned_char : Flag<"--unsigned-char">, Alias; def _user_dependencies : Flag<"--user-dependencies">, Alias; def _verbose : Flag<"--verbose">, Alias; def _version : Flag<"--version">; def _warn__EQ : Joined<"--warn-=">, Alias; def _warn_ : Joined<"--warn-">, Alias; def _write_dependencies : Flag<"--write-dependencies">, Alias; def _write_user_dependencies : Flag<"--write-user-dependencies">, Alias; def _ : Joined<"--">, Flags<[Unsupported]>; // Special internal option to handle -Xlinker --no-demangle. def Z_Xlinker__no_demangle : Flag<"-Z-Xlinker-no-demangle">, Flags<[Unsupported, NoArgumentUnused]>; // Special internal option to allow forwarding arbitrary arguments to linker. def Zlinker_input : Separate<"-Zlinker-input">, Flags<[Unsupported, NoArgumentUnused]>; // Reserved library options. def Z_reserved_lib_stdcxx : Flag<"-Z-reserved-lib-stdc++">, Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group; def Z_reserved_lib_cckext : Flag<"-Z-reserved-lib-cckext">, Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group;

; def _no_standard_includes : Flag<"--no-standard-includes">, Alias; def _no_standard_libraries : Flag<"--no-standard-libraries">, Alias; def _no_undefined : Flag<"--no-undefined">, Flags<[LinkerInput]>; def _no_warnings : Flag<"--no-warnings">, Alias; def _optimize_EQ : Joined<"--optimize=">, Alias; def _optimize : Flag<"--optimize">, Alias; def _output_class_directory_EQ : Joined<"--output-class-directory=">, Alias; def _output_class_directory : Separate<"--output-class-directory">, Alias; def _output_EQ : Joined<"--output=">, Alias; def _output : Separate<"--output">, Alias; def _param : Separate<"--param">; def _param_EQ : Joined<"--param=">, Alias<_param>; def _pass_exit_codes : Flag<"--pass-exit-codes">, Alias; def _pedantic_errors : Flag<"--pedantic-errors">, Alias; def _pedantic : Flag<"--pedantic">, Alias; def _pipe : Flag<"--pipe">, Alias; def _prefix_EQ : Joined<"--prefix=">, Alias; def _prefix : Separate<"--prefix">, Alias; def _preprocess : Flag<"--preprocess">, Alias; def _print_diagnostic_categories : Flag<"--print-diagnostic-categories">; def _print_file_name_EQ : Joined<"--print-file-name=">, Alias; def _print_file_name : Separate<"--print-file-name">, Alias; def _print_libgcc_file_name : Flag<"--print-libgcc-file-name">, Alias; def _print_missing_file_dependencies : Flag<"--print-missing-file-dependencies">, Alias; def _print_multi_directory : Flag<"--print-multi-directory">, Alias; def _print_multi_lib : Flag<"--print-multi-lib">, Alias; def _print_multi_os_directory : Flag<"--print-multi-os-directory">, Alias; def _print_prog_name_EQ : Joined<"--print-prog-name=">, Alias; def _print_prog_name : Separate<"--print-prog-name">, Alias; def _print_search_dirs : Flag<"--print-search-dirs">, Alias; def _profile_blocks : Flag<"--profile-blocks">, Alias; def _profile : Flag<"--profile">, Alias