1f4a2713aSLionel Sambuc//===--- Options.td - Options for clang -----------------------------------===//
2f4a2713aSLionel Sambuc//
3f4a2713aSLionel Sambuc//                     The LLVM Compiler Infrastructure
4f4a2713aSLionel Sambuc//
5f4a2713aSLionel Sambuc// This file is distributed under the University of Illinois Open Source
6f4a2713aSLionel Sambuc// License. See LICENSE.TXT for details.
7f4a2713aSLionel Sambuc//
8f4a2713aSLionel Sambuc//===----------------------------------------------------------------------===//
9f4a2713aSLionel Sambuc//
10f4a2713aSLionel Sambuc//  This file defines the options accepted by clang.
11f4a2713aSLionel Sambuc//
12f4a2713aSLionel Sambuc//===----------------------------------------------------------------------===//
13f4a2713aSLionel Sambuc
14f4a2713aSLionel Sambuc// Include the common option parsing interfaces.
15f4a2713aSLionel Sambucinclude "llvm/Option/OptParser.td"
16f4a2713aSLionel Sambuc
17f4a2713aSLionel Sambuc/////////
18f4a2713aSLionel Sambuc// Flags
19f4a2713aSLionel Sambuc
20f4a2713aSLionel Sambuc// DriverOption - The option is a "driver" option, and should not be forwarded
21f4a2713aSLionel Sambuc// to other tools.
22f4a2713aSLionel Sambucdef DriverOption : OptionFlag;
23f4a2713aSLionel Sambuc
24f4a2713aSLionel Sambuc// LinkerInput - The option is a linker input.
25f4a2713aSLionel Sambucdef LinkerInput : OptionFlag;
26f4a2713aSLionel Sambuc
27f4a2713aSLionel Sambuc// NoArgumentUnused - Don't report argument unused warnings for this option; this
28f4a2713aSLionel Sambuc// is useful for options like -static or -dynamic which a user may always end up
29f4a2713aSLionel Sambuc// passing, even if the platform defaults to (or only supports) that option.
30f4a2713aSLionel Sambucdef NoArgumentUnused : OptionFlag;
31f4a2713aSLionel Sambuc
32f4a2713aSLionel Sambuc// Unsupported - The option is unsupported, and the driver will reject command
33f4a2713aSLionel Sambuc// lines that use it.
34f4a2713aSLionel Sambucdef Unsupported : OptionFlag;
35f4a2713aSLionel Sambuc
36f4a2713aSLionel Sambuc// CoreOption - This is considered a "core" Clang option, available in both
37f4a2713aSLionel Sambuc// clang and clang-cl modes.
38f4a2713aSLionel Sambucdef CoreOption : OptionFlag;
39f4a2713aSLionel Sambuc
40f4a2713aSLionel Sambuc// CLOption - This is a cl.exe compatibility option. Options with this flag
41f4a2713aSLionel Sambuc// are made available when the driver is running in CL compatibility mode.
42f4a2713aSLionel Sambucdef CLOption : OptionFlag;
43f4a2713aSLionel Sambuc
44f4a2713aSLionel Sambuc// CC1Option - This option should be accepted by clang -cc1.
45f4a2713aSLionel Sambucdef CC1Option : OptionFlag;
46f4a2713aSLionel Sambuc
47*0a6a1f1dSLionel Sambuc// CC1AsOption - This option should be accepted by clang -cc1as.
48*0a6a1f1dSLionel Sambucdef CC1AsOption : OptionFlag;
49*0a6a1f1dSLionel Sambuc
50f4a2713aSLionel Sambuc// NoDriverOption - This option should not be accepted by the driver.
51f4a2713aSLionel Sambucdef NoDriverOption : OptionFlag;
52f4a2713aSLionel Sambuc
53f4a2713aSLionel Sambuc/////////
54f4a2713aSLionel Sambuc// Groups
55f4a2713aSLionel Sambuc
56f4a2713aSLionel Sambuc// Meta-group for options which are only used for compilation,
57f4a2713aSLionel Sambuc// and not linking etc.
58f4a2713aSLionel Sambucdef CompileOnly_Group     : OptionGroup<"<CompileOnly group>">;
59f4a2713aSLionel Sambuc
60f4a2713aSLionel Sambucdef Action_Group          : OptionGroup<"<action group>">;
61f4a2713aSLionel Sambuc
62f4a2713aSLionel Sambucdef I_Group               : OptionGroup<"<I group>">, Group<CompileOnly_Group>;
63f4a2713aSLionel Sambucdef M_Group               : OptionGroup<"<M group>">, Group<CompileOnly_Group>;
64f4a2713aSLionel Sambucdef T_Group               : OptionGroup<"<T group>">;
65f4a2713aSLionel Sambucdef O_Group               : OptionGroup<"<O group>">, Group<CompileOnly_Group>;
66*0a6a1f1dSLionel Sambucdef R_Group               : OptionGroup<"<R group>">, Group<CompileOnly_Group>;
67*0a6a1f1dSLionel Sambucdef R_value_Group         : OptionGroup<"<R (with value) group>">, Group<R_Group>;
68f4a2713aSLionel Sambucdef W_Group               : OptionGroup<"<W group>">, Group<CompileOnly_Group>;
69*0a6a1f1dSLionel Sambucdef W_value_Group         : OptionGroup<"<W (with value) group>">, Group<W_Group>;
70f4a2713aSLionel Sambucdef d_Group               : OptionGroup<"<d group>">;
71f4a2713aSLionel Sambucdef f_Group               : OptionGroup<"<f group>">, Group<CompileOnly_Group>;
72f4a2713aSLionel Sambucdef f_clang_Group         : OptionGroup<"<f (clang-only) group>">, Group<CompileOnly_Group>;
73f4a2713aSLionel Sambucdef g_Group               : OptionGroup<"<g group>">;
74f4a2713aSLionel Sambucdef g_flags_Group         : OptionGroup<"<g flags group>">;
75f4a2713aSLionel Sambucdef i_Group               : OptionGroup<"<i group>">, Group<CompileOnly_Group>;
76f4a2713aSLionel Sambucdef clang_i_Group         : OptionGroup<"<clang i group>">, Group<i_Group>;
77f4a2713aSLionel Sambucdef m_Group               : OptionGroup<"<m group>">, Group<CompileOnly_Group>;
78*0a6a1f1dSLionel Sambucdef m_x86_Features_Group  : OptionGroup<"<m x86 features group>">, Group<m_Group>, Flags<[CoreOption]>;
79f4a2713aSLionel Sambucdef m_hexagon_Features_Group  : OptionGroup<"<m hexagon features group>">, Group<m_Group>;
80f4a2713aSLionel Sambucdef m_arm_Features_Group  : OptionGroup<"<m arm features group>">, Group<m_Group>;
81*0a6a1f1dSLionel Sambucdef m_aarch64_Features_Group  : OptionGroup<"<m aarch64 features group>">, Group<m_Group>;
82f4a2713aSLionel Sambucdef m_ppc_Features_Group  : OptionGroup<"<m ppc features group>">, Group<m_Group>;
83*0a6a1f1dSLionel Sambucdef m_libc_Group          : OptionGroup<"<m libc group>">, Group<m_Group>;
84f4a2713aSLionel Sambucdef u_Group               : OptionGroup<"<u group>">;
85f4a2713aSLionel Sambuc
86f4a2713aSLionel Sambucdef pedantic_Group        : OptionGroup<"<pedantic group>">,
87f4a2713aSLionel Sambuc  Group<CompileOnly_Group>;
88f4a2713aSLionel Sambucdef reserved_lib_Group   : OptionGroup<"<reserved libs group>">;
89f4a2713aSLionel Sambuc
90f4a2713aSLionel Sambuc// Temporary groups for clang options which we know we don't support,
91f4a2713aSLionel Sambuc// but don't want to verbosely warn the user about.
92f4a2713aSLionel Sambucdef clang_ignored_f_Group : OptionGroup<"<clang ignored f group>">,
93f4a2713aSLionel Sambuc  Group<f_Group>;
94f4a2713aSLionel Sambucdef clang_ignored_m_Group : OptionGroup<"<clang ignored m group>">,
95f4a2713aSLionel Sambuc  Group<m_Group>;
96f4a2713aSLionel Sambuc
97*0a6a1f1dSLionel Sambuc// Group that ignores all gcc optimizations that won't be implemented
98*0a6a1f1dSLionel Sambucdef clang_ignored_gcc_optimization_f_Group : OptionGroup<
99*0a6a1f1dSLionel Sambuc  "<clang_ignored_gcc_optimization_f_Group>">, Group<f_Group>;
100*0a6a1f1dSLionel Sambuc
101f4a2713aSLionel Sambuc/////////
102f4a2713aSLionel Sambuc// Options
103f4a2713aSLionel Sambuc
104f4a2713aSLionel Sambuc// The internal option ID must be a valid C++ identifier and results in a
105f4a2713aSLionel Sambuc// clang::driver::options::OPT_XX enum constant for XX.
106f4a2713aSLionel Sambuc//
107f4a2713aSLionel Sambuc// We want to unambiguously be able to refer to options from the driver source
108f4a2713aSLionel Sambuc// code, for this reason the option name is mangled into an ID. This mangling
109f4a2713aSLionel Sambuc// isn't guaranteed to have an inverse, but for practical purposes it does.
110f4a2713aSLionel Sambuc//
111f4a2713aSLionel Sambuc// The mangling scheme is to ignore the leading '-', and perform the following
112f4a2713aSLionel Sambuc// substitutions:
113f4a2713aSLionel Sambuc//   _ => __
114f4a2713aSLionel Sambuc//   - => _
115f4a2713aSLionel Sambuc//   / => _SLASH
116f4a2713aSLionel Sambuc//   # => _HASH
117f4a2713aSLionel Sambuc//   ? => _QUESTION
118f4a2713aSLionel Sambuc//   , => _COMMA
119f4a2713aSLionel Sambuc//   = => _EQ
120f4a2713aSLionel Sambuc//   C++ => CXX
121f4a2713aSLionel Sambuc//   . => _
122f4a2713aSLionel Sambuc
123f4a2713aSLionel Sambuc// Developer Driver Options
124f4a2713aSLionel Sambuc
125f4a2713aSLionel Sambucdef internal_Group : OptionGroup<"<clang internal options>">;
126f4a2713aSLionel Sambucdef internal_driver_Group : OptionGroup<"<clang driver internal options>">,
127f4a2713aSLionel Sambuc  Group<internal_Group>, HelpText<"DRIVER OPTIONS">;
128f4a2713aSLionel Sambucdef internal_debug_Group :
129f4a2713aSLionel Sambuc  OptionGroup<"<clang debug/development internal options>">,
130f4a2713aSLionel Sambuc  Group<internal_Group>, HelpText<"DEBUG/DEVELOPMENT OPTIONS">;
131f4a2713aSLionel Sambuc
132f4a2713aSLionel Sambucclass InternalDriverOpt : Group<internal_driver_Group>,
133f4a2713aSLionel Sambuc  Flags<[DriverOption, HelpHidden]>;
134f4a2713aSLionel Sambucdef driver_mode : Joined<["--"], "driver-mode=">, Group<internal_driver_Group>,
135f4a2713aSLionel Sambuc  Flags<[CoreOption, DriverOption, HelpHidden]>,
136f4a2713aSLionel Sambuc  HelpText<"Set the driver mode to either 'gcc', 'g++', 'cpp', or 'cl'">;
137f4a2713aSLionel Sambucdef ccc_gcc_name : Separate<["-"], "ccc-gcc-name">, InternalDriverOpt,
138f4a2713aSLionel Sambuc  HelpText<"Name for native GCC compiler">,
139f4a2713aSLionel Sambuc  MetaVarName<"<gcc-path>">;
140f4a2713aSLionel Sambucdef ccc_pch_is_pch : Flag<["-"], "ccc-pch-is-pch">, InternalDriverOpt,
141f4a2713aSLionel Sambuc  HelpText<"Use lazy PCH for precompiled headers">;
142f4a2713aSLionel Sambucdef ccc_pch_is_pth : Flag<["-"], "ccc-pch-is-pth">, InternalDriverOpt,
143f4a2713aSLionel Sambuc  HelpText<"Use pretokenized headers for precompiled headers">;
144f4a2713aSLionel Sambuc
145f4a2713aSLionel Sambucclass InternalDebugOpt : Group<internal_debug_Group>,
146f4a2713aSLionel Sambuc  Flags<[DriverOption, HelpHidden]>;
147f4a2713aSLionel Sambucdef ccc_install_dir : Separate<["-"], "ccc-install-dir">, InternalDebugOpt,
148f4a2713aSLionel Sambuc  HelpText<"Simulate installation in the given directory">;
149f4a2713aSLionel Sambucdef ccc_print_phases : Flag<["-"], "ccc-print-phases">, InternalDebugOpt,
150f4a2713aSLionel Sambuc  HelpText<"Dump list of actions to perform">;
151f4a2713aSLionel Sambucdef ccc_print_bindings : Flag<["-"], "ccc-print-bindings">, InternalDebugOpt,
152f4a2713aSLionel Sambuc  HelpText<"Show bindings of tools to actions">;
153f4a2713aSLionel Sambuc
154f4a2713aSLionel Sambucdef ccc_arcmt_check : Flag<["-"], "ccc-arcmt-check">, InternalDriverOpt,
155f4a2713aSLionel Sambuc  HelpText<"Check for ARC migration issues that need manual handling">;
156f4a2713aSLionel Sambucdef ccc_arcmt_modify : Flag<["-"], "ccc-arcmt-modify">, InternalDriverOpt,
157f4a2713aSLionel Sambuc  HelpText<"Apply modifications to files to conform to ARC">;
158f4a2713aSLionel Sambucdef ccc_arcmt_migrate : Separate<["-"], "ccc-arcmt-migrate">, InternalDriverOpt,
159f4a2713aSLionel Sambuc  HelpText<"Apply modifications and produces temporary files that conform to ARC">;
160f4a2713aSLionel Sambucdef arcmt_migrate_report_output : Separate<["-"], "arcmt-migrate-report-output">,
161f4a2713aSLionel Sambuc  HelpText<"Output path for the plist report">,  Flags<[CC1Option]>;
162f4a2713aSLionel Sambucdef arcmt_migrate_emit_arc_errors : Flag<["-"], "arcmt-migrate-emit-errors">,
163f4a2713aSLionel Sambuc  HelpText<"Emit ARC errors even if the migrator can fix them">,
164f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
165f4a2713aSLionel Sambuc
166f4a2713aSLionel Sambucdef _migrate : Flag<["--"], "migrate">, Flags<[DriverOption]>,
167f4a2713aSLionel Sambuc  HelpText<"Run the migrator">;
168f4a2713aSLionel Sambucdef ccc_objcmt_migrate : Separate<["-"], "ccc-objcmt-migrate">,
169f4a2713aSLionel Sambuc  InternalDriverOpt,
170f4a2713aSLionel Sambuc  HelpText<"Apply modifications and produces temporary files to migrate to "
171f4a2713aSLionel Sambuc   "modern ObjC syntax">;
172f4a2713aSLionel Sambucdef objcmt_migrate_literals : Flag<["-"], "objcmt-migrate-literals">, Flags<[CC1Option]>,
173f4a2713aSLionel Sambuc  HelpText<"Enable migration to modern ObjC literals">;
174f4a2713aSLionel Sambucdef objcmt_migrate_subscripting : Flag<["-"], "objcmt-migrate-subscripting">, Flags<[CC1Option]>,
175f4a2713aSLionel Sambuc  HelpText<"Enable migration to modern ObjC subscripting">;
176f4a2713aSLionel Sambucdef objcmt_migrate_property : Flag<["-"], "objcmt-migrate-property">, Flags<[CC1Option]>,
177f4a2713aSLionel Sambuc  HelpText<"Enable migration to modern ObjC property">;
178f4a2713aSLionel Sambucdef objcmt_migrate_all : Flag<["-"], "objcmt-migrate-all">, Flags<[CC1Option]>,
179f4a2713aSLionel Sambuc  HelpText<"Enable migration to modern ObjC">;
180f4a2713aSLionel Sambucdef objcmt_migrate_readonly_property : Flag<["-"], "objcmt-migrate-readonly-property">, Flags<[CC1Option]>,
181f4a2713aSLionel Sambuc  HelpText<"Enable migration to modern ObjC readonly property">;
182f4a2713aSLionel Sambucdef objcmt_migrate_readwrite_property : Flag<["-"], "objcmt-migrate-readwrite-property">, Flags<[CC1Option]>,
183f4a2713aSLionel Sambuc  HelpText<"Enable migration to modern ObjC readwrite property">;
184*0a6a1f1dSLionel Sambucdef objcmt_migrate_property_dot_syntax : Flag<["-"], "objcmt-migrate-property-dot-syntax">, Flags<[CC1Option]>,
185*0a6a1f1dSLionel Sambuc  HelpText<"Enable migration of setter/getter messages to property-dot syntax">;
186f4a2713aSLionel Sambucdef objcmt_migrate_annotation : Flag<["-"], "objcmt-migrate-annotation">, Flags<[CC1Option]>,
187f4a2713aSLionel Sambuc  HelpText<"Enable migration to property and method annotations">;
188f4a2713aSLionel Sambucdef objcmt_migrate_instancetype : Flag<["-"], "objcmt-migrate-instancetype">, Flags<[CC1Option]>,
189f4a2713aSLionel Sambuc  HelpText<"Enable migration to infer instancetype for method result type">;
190f4a2713aSLionel Sambucdef objcmt_migrate_nsmacros : Flag<["-"], "objcmt-migrate-ns-macros">, Flags<[CC1Option]>,
191f4a2713aSLionel Sambuc  HelpText<"Enable migration to NS_ENUM/NS_OPTIONS macros">;
192f4a2713aSLionel Sambucdef objcmt_migrate_protocol_conformance : Flag<["-"], "objcmt-migrate-protocol-conformance">, Flags<[CC1Option]>,
193f4a2713aSLionel Sambuc  HelpText<"Enable migration to add protocol conformance on classes">;
194f4a2713aSLionel Sambucdef objcmt_atomic_property : Flag<["-"], "objcmt-atomic-property">, Flags<[CC1Option]>,
195f4a2713aSLionel Sambuc  HelpText<"Make migration to 'atomic' properties">;
196f4a2713aSLionel Sambucdef objcmt_returns_innerpointer_property : Flag<["-"], "objcmt-returns-innerpointer-property">, Flags<[CC1Option]>,
197f4a2713aSLionel Sambuc  HelpText<"Enable migration to annotate property with NS_RETURNS_INNER_POINTER">;
198f4a2713aSLionel Sambucdef objcmt_ns_nonatomic_iosonly: Flag<["-"], "objcmt-ns-nonatomic-iosonly">, Flags<[CC1Option]>,
199f4a2713aSLionel Sambuc  HelpText<"Enable migration to use NS_NONATOMIC_IOSONLY macro for setting property's 'atomic' attribute">;
200*0a6a1f1dSLionel Sambucdef objcmt_migrate_designated_init : Flag<["-"], "objcmt-migrate-designated-init">, Flags<[CC1Option]>,
201*0a6a1f1dSLionel Sambuc  HelpText<"Enable migration to infer NS_DESIGNATED_INITIALIZER for initializer methods">;
202*0a6a1f1dSLionel Sambucdef objcmt_whitelist_dir_path: Joined<["-"], "objcmt-whitelist-dir-path=">, Flags<[CC1Option]>,
203f4a2713aSLionel Sambuc  HelpText<"Only modify files with a filename contained in the provided directory path">;
204*0a6a1f1dSLionel Sambuc// The misspelt "white-list" [sic] alias is due for removal.
205*0a6a1f1dSLionel Sambucdef : Joined<["-"], "objcmt-white-list-dir-path=">, Flags<[CC1Option]>,
206*0a6a1f1dSLionel Sambuc    Alias<objcmt_whitelist_dir_path>;
207f4a2713aSLionel Sambuc
208f4a2713aSLionel Sambuc// Make sure all other -ccc- options are rejected.
209f4a2713aSLionel Sambucdef ccc_ : Joined<["-"], "ccc-">, Group<internal_Group>, Flags<[Unsupported]>;
210f4a2713aSLionel Sambuc
211f4a2713aSLionel Sambuc// Standard Options
212f4a2713aSLionel Sambuc
213f4a2713aSLionel Sambucdef _HASH_HASH_HASH : Flag<["-"], "###">, Flags<[DriverOption, CoreOption]>,
214*0a6a1f1dSLionel Sambuc    HelpText<"Print (but do not run) the commands to run for this compilation">;
215f4a2713aSLionel Sambucdef _DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>,
216f4a2713aSLionel Sambuc    Flags<[DriverOption, CoreOption]>;
217f4a2713aSLionel Sambucdef A : JoinedOrSeparate<["-"], "A">, Flags<[RenderJoined]>;
218f4a2713aSLionel Sambucdef B : JoinedOrSeparate<["-"], "B">;
219f4a2713aSLionel Sambucdef CC : Flag<["-"], "CC">, Flags<[CC1Option]>;
220f4a2713aSLionel Sambucdef C : Flag<["-"], "C">, Flags<[CC1Option]>;
221f4a2713aSLionel Sambucdef D : JoinedOrSeparate<["-"], "D">, Group<CompileOnly_Group>, Flags<[CC1Option]>;
222f4a2713aSLionel Sambucdef E : Flag<["-"], "E">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>,
223f4a2713aSLionel Sambuc  HelpText<"Only run the preprocessor">;
224f4a2713aSLionel Sambucdef F : JoinedOrSeparate<["-"], "F">, Flags<[RenderJoined,CC1Option]>,
225f4a2713aSLionel Sambuc    HelpText<"Add directory to framework include search path">;
226f4a2713aSLionel Sambucdef G : JoinedOrSeparate<["-"], "G">, Flags<[DriverOption]>;
227f4a2713aSLionel Sambucdef G_EQ : Joined<["-"], "G=">, Flags<[DriverOption]>;
228f4a2713aSLionel Sambucdef H : Flag<["-"], "H">, Flags<[CC1Option]>,
229f4a2713aSLionel Sambuc    HelpText<"Show header includes and nesting depth">;
230f4a2713aSLionel Sambucdef I_ : Flag<["-"], "I-">, Group<I_Group>;
231*0a6a1f1dSLionel Sambucdef I : JoinedOrSeparate<["-"], "I">, Group<I_Group>, Flags<[CC1Option,CC1AsOption]>,
232f4a2713aSLionel Sambuc    HelpText<"Add directory to include search path">;
233f4a2713aSLionel Sambucdef L : JoinedOrSeparate<["-"], "L">, Flags<[RenderJoined]>;
234*0a6a1f1dSLionel Sambucdef MD : Flag<["-"], "MD">, Group<M_Group>,
235*0a6a1f1dSLionel Sambuc    HelpText<"Write a depfile containing user and system headers">;
236*0a6a1f1dSLionel Sambucdef MMD : Flag<["-"], "MMD">, Group<M_Group>,
237*0a6a1f1dSLionel Sambuc    HelpText<"Write a depfile containing user headers">;
238*0a6a1f1dSLionel Sambucdef M : Flag<["-"], "M">, Group<M_Group>,
239*0a6a1f1dSLionel Sambuc    HelpText<"Like -MD, but also implies -E and writes to stdout by default">;
240*0a6a1f1dSLionel Sambucdef MM : Flag<["-"], "MM">, Group<M_Group>,
241*0a6a1f1dSLionel Sambuc    HelpText<"Like -MMD, but also implies -E and writes to stdout by default">;
242*0a6a1f1dSLionel Sambucdef MF : JoinedOrSeparate<["-"], "MF">, Group<M_Group>,
243*0a6a1f1dSLionel Sambuc    HelpText<"Write depfile output from -MMD, -MD, -MM, or -M to <file>">,
244*0a6a1f1dSLionel Sambuc    MetaVarName<"<file>">;
245f4a2713aSLionel Sambucdef MG : Flag<["-"], "MG">, Group<M_Group>, Flags<[CC1Option]>,
246*0a6a1f1dSLionel Sambuc    HelpText<"Add missing headers to depfile">;
247f4a2713aSLionel Sambucdef MP : Flag<["-"], "MP">, Group<M_Group>, Flags<[CC1Option]>,
248f4a2713aSLionel Sambuc    HelpText<"Create phony target for each dependency (other than main file)">;
249f4a2713aSLionel Sambucdef MQ : JoinedOrSeparate<["-"], "MQ">, Group<M_Group>, Flags<[CC1Option]>,
250*0a6a1f1dSLionel Sambuc    HelpText<"Specify name of main file output to quote in depfile">;
251f4a2713aSLionel Sambucdef MT : JoinedOrSeparate<["-"], "MT">, Group<M_Group>, Flags<[CC1Option]>,
252*0a6a1f1dSLionel Sambuc    HelpText<"Specify name of main file output in depfile">;
253f4a2713aSLionel Sambucdef Mach : Flag<["-"], "Mach">;
254f4a2713aSLionel Sambucdef O0 : Flag<["-"], "O0">, Group<O_Group>, Flags<[CC1Option]>;
255f4a2713aSLionel Sambucdef O4 : Flag<["-"], "O4">, Group<O_Group>, Flags<[CC1Option]>;
256f4a2713aSLionel Sambucdef ObjCXX : Flag<["-"], "ObjC++">, Flags<[DriverOption]>,
257f4a2713aSLionel Sambuc  HelpText<"Treat source input files as Objective-C++ inputs">;
258f4a2713aSLionel Sambucdef ObjC : Flag<["-"], "ObjC">, Flags<[DriverOption]>,
259f4a2713aSLionel Sambuc  HelpText<"Treat source input files as Objective-C inputs">;
260f4a2713aSLionel Sambucdef O : Joined<["-"], "O">, Group<O_Group>, Flags<[CC1Option]>;
261f4a2713aSLionel Sambucdef O_flag : Flag<["-"], "O">, Flags<[CC1Option]>, Alias<O>, AliasArgs<["2"]>;
262f4a2713aSLionel Sambucdef Ofast : Joined<["-"], "Ofast">, Group<O_Group>, Flags<[CC1Option]>;
263f4a2713aSLionel Sambucdef P : Flag<["-"], "P">, Flags<[CC1Option]>,
264f4a2713aSLionel Sambuc  HelpText<"Disable linemarker output in -E mode">;
265f4a2713aSLionel Sambucdef Qn : Flag<["-"], "Qn">;
266f4a2713aSLionel Sambucdef Qunused_arguments : Flag<["-"], "Qunused-arguments">, Flags<[DriverOption, CoreOption]>,
267f4a2713aSLionel Sambuc  HelpText<"Don't emit warning for unused driver arguments">;
268f4a2713aSLionel Sambucdef Q : Flag<["-"], "Q">;
269*0a6a1f1dSLionel Sambucdef Rpass_EQ : Joined<["-"], "Rpass=">, Group<R_value_Group>, Flags<[CC1Option]>,
270*0a6a1f1dSLionel Sambuc  HelpText<"Report transformations performed by optimization passes whose "
271*0a6a1f1dSLionel Sambuc           "name matches the given POSIX regular expression">;
272*0a6a1f1dSLionel Sambucdef Rpass_missed_EQ : Joined<["-"], "Rpass-missed=">, Group<R_value_Group>,
273*0a6a1f1dSLionel Sambuc  Flags<[CC1Option]>,
274*0a6a1f1dSLionel Sambuc  HelpText<"Report missed transformations by optimization passes whose "
275*0a6a1f1dSLionel Sambuc           "name matches the given POSIX regular expression">;
276*0a6a1f1dSLionel Sambucdef Rpass_analysis_EQ : Joined<["-"], "Rpass-analysis=">, Group<R_value_Group>,
277*0a6a1f1dSLionel Sambuc  Flags<[CC1Option]>,
278*0a6a1f1dSLionel Sambuc  HelpText<"Report transformation analysis from optimization passes whose "
279*0a6a1f1dSLionel Sambuc           "name matches the given POSIX regular expression">;
280*0a6a1f1dSLionel Sambucdef R_Joined : Joined<["-"], "R">, Group<R_Group>, Flags<[CC1Option, CoreOption]>,
281*0a6a1f1dSLionel Sambuc  MetaVarName<"<remark>">, HelpText<"Enable the specified remark">;
282f4a2713aSLionel Sambucdef S : Flag<["-"], "S">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>,
283f4a2713aSLionel Sambuc  HelpText<"Only run preprocess and compilation steps">;
284f4a2713aSLionel Sambucdef Tbss : JoinedOrSeparate<["-"], "Tbss">, Group<T_Group>;
285f4a2713aSLionel Sambucdef Tdata : JoinedOrSeparate<["-"], "Tdata">, Group<T_Group>;
286f4a2713aSLionel Sambucdef Ttext : JoinedOrSeparate<["-"], "Ttext">, Group<T_Group>;
287f4a2713aSLionel Sambucdef T : JoinedOrSeparate<["-"], "T">, Group<T_Group>;
288f4a2713aSLionel Sambucdef U : JoinedOrSeparate<["-"], "U">, Group<CompileOnly_Group>, Flags<[CC1Option]>;
289f4a2713aSLionel Sambucdef V : JoinedOrSeparate<["-"], "V">, Flags<[DriverOption, Unsupported]>;
290f4a2713aSLionel Sambucdef Wa_COMMA : CommaJoined<["-"], "Wa,">,
291f4a2713aSLionel Sambuc  HelpText<"Pass the comma separated arguments in <arg> to the assembler">,
292f4a2713aSLionel Sambuc  MetaVarName<"<arg>">;
293f4a2713aSLionel Sambucdef Wall : Flag<["-"], "Wall">, Group<W_Group>, Flags<[CC1Option]>;
294f4a2713aSLionel Sambucdef Wdeprecated : Flag<["-"], "Wdeprecated">, Group<W_Group>, Flags<[CC1Option]>;
295f4a2713aSLionel Sambucdef Wno_deprecated : Flag<["-"], "Wno-deprecated">, Group<W_Group>, Flags<[CC1Option]>;
296f4a2713aSLionel Sambucdef Wextra : Flag<["-"], "Wextra">, Group<W_Group>, Flags<[CC1Option]>;
297f4a2713aSLionel Sambucdef Wl_COMMA : CommaJoined<["-"], "Wl,">, Flags<[LinkerInput, RenderAsInput]>,
298f4a2713aSLionel Sambuc  HelpText<"Pass the comma separated arguments in <arg> to the linker">,
299f4a2713aSLionel Sambuc  MetaVarName<"<arg>">;
300*0a6a1f1dSLionel Sambuc// FIXME: This is broken; these should not be Joined arguments.
301f4a2713aSLionel Sambucdef Wno_nonportable_cfstrings : Joined<["-"], "Wno-nonportable-cfstrings">, Group<W_Group>,
302f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
303f4a2713aSLionel Sambucdef Wnonportable_cfstrings : Joined<["-"], "Wnonportable-cfstrings">, Group<W_Group>,
304f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
305f4a2713aSLionel Sambucdef Wp_COMMA : CommaJoined<["-"], "Wp,">,
306f4a2713aSLionel Sambuc  HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">,
307f4a2713aSLionel Sambuc  MetaVarName<"<arg>">;
308*0a6a1f1dSLionel Sambucdef Wwrite_strings : Flag<["-"], "Wwrite-strings">, Group<W_Group>, Flags<[CC1Option]>;
309*0a6a1f1dSLionel Sambucdef Wno_write_strings : Flag<["-"], "Wno-write-strings">, Group<W_Group>, Flags<[CC1Option]>;
310f4a2713aSLionel Sambucdef W_Joined : Joined<["-"], "W">, Group<W_Group>, Flags<[CC1Option, CoreOption]>,
311f4a2713aSLionel Sambuc  MetaVarName<"<warning>">, HelpText<"Enable the specified warning">;
312f4a2713aSLionel Sambucdef Xanalyzer : Separate<["-"], "Xanalyzer">,
313f4a2713aSLionel Sambuc  HelpText<"Pass <arg> to the static analyzer">, MetaVarName<"<arg>">;
314f4a2713aSLionel Sambucdef Xarch__ : JoinedAndSeparate<["-"], "Xarch_">, Flags<[DriverOption]>;
315f4a2713aSLionel Sambucdef Xassembler : Separate<["-"], "Xassembler">,
316f4a2713aSLionel Sambuc  HelpText<"Pass <arg> to the assembler">, MetaVarName<"<arg>">;
317f4a2713aSLionel Sambucdef Xclang : Separate<["-"], "Xclang">,
318f4a2713aSLionel Sambuc  HelpText<"Pass <arg> to the clang compiler">, MetaVarName<"<arg>">,
319f4a2713aSLionel Sambuc  Flags<[DriverOption, CoreOption]>;
320*0a6a1f1dSLionel Sambucdef z : Separate<["-"], "z">, Flags<[LinkerInput, RenderAsInput]>,
321*0a6a1f1dSLionel Sambuc  HelpText<"Pass -z <arg> to the linker">, MetaVarName<"<arg>">;
322f4a2713aSLionel Sambucdef Xlinker : Separate<["-"], "Xlinker">, Flags<[LinkerInput, RenderAsInput]>,
323f4a2713aSLionel Sambuc  HelpText<"Pass <arg> to the linker">, MetaVarName<"<arg>">;
324f4a2713aSLionel Sambucdef Xpreprocessor : Separate<["-"], "Xpreprocessor">,
325f4a2713aSLionel Sambuc  HelpText<"Pass <arg> to the preprocessor">, MetaVarName<"<arg>">;
326f4a2713aSLionel Sambucdef X_Flag : Flag<["-"], "X">;
327f4a2713aSLionel Sambucdef X_Joined : Joined<["-"], "X">;
328f4a2713aSLionel Sambucdef Z_Flag : Flag<["-"], "Z">;
329f4a2713aSLionel Sambucdef Z_Joined : Joined<["-"], "Z">;
330f4a2713aSLionel Sambucdef all__load : Flag<["-"], "all_load">;
331f4a2713aSLionel Sambucdef allowable__client : Separate<["-"], "allowable_client">;
332f4a2713aSLionel Sambucdef ansi : Flag<["-", "--"], "ansi">;
333f4a2713aSLionel Sambucdef arch__errors__fatal : Flag<["-"], "arch_errors_fatal">;
334f4a2713aSLionel Sambucdef arch : Separate<["-"], "arch">, Flags<[DriverOption]>;
335f4a2713aSLionel Sambucdef arch__only : Separate<["-"], "arch_only">;
336f4a2713aSLionel Sambucdef a : Joined<["-"], "a">;
337f4a2713aSLionel Sambucdef bind__at__load : Flag<["-"], "bind_at_load">;
338f4a2713aSLionel Sambucdef bundle__loader : Separate<["-"], "bundle_loader">;
339f4a2713aSLionel Sambucdef bundle : Flag<["-"], "bundle">;
340f4a2713aSLionel Sambucdef b : JoinedOrSeparate<["-"], "b">, Flags<[Unsupported]>;
341f4a2713aSLionel Sambucdef client__name : JoinedOrSeparate<["-"], "client_name">;
342f4a2713aSLionel Sambucdef combine : Flag<["-", "--"], "combine">, Flags<[DriverOption, Unsupported]>;
343f4a2713aSLionel Sambucdef compatibility__version : JoinedOrSeparate<["-"], "compatibility_version">;
344f4a2713aSLionel Sambucdef coverage : Flag<["-", "--"], "coverage">;
345f4a2713aSLionel Sambucdef cpp_precomp : Flag<["-"], "cpp-precomp">, Group<clang_ignored_f_Group>;
346f4a2713aSLionel Sambucdef current__version : JoinedOrSeparate<["-"], "current_version">;
347f4a2713aSLionel Sambucdef cxx_isystem : JoinedOrSeparate<["-"], "cxx-isystem">, Group<clang_i_Group>,
348f4a2713aSLionel Sambuc  HelpText<"Add directory to the C++ SYSTEM include search path">, Flags<[CC1Option]>,
349f4a2713aSLionel Sambuc  MetaVarName<"<directory>">;
350f4a2713aSLionel Sambucdef c : Flag<["-"], "c">, Flags<[DriverOption]>,
351f4a2713aSLionel Sambuc  HelpText<"Only run preprocess, compile, and assemble steps">;
352f4a2713aSLionel Sambucdef dA : Flag<["-"], "dA">, Group<d_Group>;
353f4a2713aSLionel Sambucdef dD : Flag<["-"], "dD">, Group<d_Group>, Flags<[CC1Option]>,
354f4a2713aSLionel Sambuc  HelpText<"Print macro definitions in -E mode in addition to normal output">;
355f4a2713aSLionel Sambucdef dM : Flag<["-"], "dM">, Group<d_Group>, Flags<[CC1Option]>,
356f4a2713aSLionel Sambuc  HelpText<"Print macro definitions in -E mode instead of normal output">;
357f4a2713aSLionel Sambucdef dead__strip : Flag<["-"], "dead_strip">;
358f4a2713aSLionel Sambucdef dependency_file : Separate<["-"], "dependency-file">, Flags<[CC1Option]>,
359f4a2713aSLionel Sambuc  HelpText<"Filename (or -) to write dependency output to">;
360f4a2713aSLionel Sambucdef dependency_dot : Separate<["-"], "dependency-dot">, Flags<[CC1Option]>,
361f4a2713aSLionel Sambuc  HelpText<"Filename to write DOT-formatted header dependencies to">;
362*0a6a1f1dSLionel Sambucdef module_dependency_dir : Separate<["-"], "module-dependency-dir">,
363*0a6a1f1dSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Directory to dump module dependencies to">;
364f4a2713aSLionel Sambucdef dumpmachine : Flag<["-"], "dumpmachine">;
365f4a2713aSLionel Sambucdef dumpspecs : Flag<["-"], "dumpspecs">, Flags<[Unsupported]>;
366f4a2713aSLionel Sambucdef dumpversion : Flag<["-"], "dumpversion">;
367f4a2713aSLionel Sambucdef dylib__file : Separate<["-"], "dylib_file">;
368f4a2713aSLionel Sambucdef dylinker__install__name : JoinedOrSeparate<["-"], "dylinker_install_name">;
369f4a2713aSLionel Sambucdef dylinker : Flag<["-"], "dylinker">;
370f4a2713aSLionel Sambucdef dynamiclib : Flag<["-"], "dynamiclib">;
371f4a2713aSLionel Sambucdef dynamic : Flag<["-"], "dynamic">, Flags<[NoArgumentUnused]>;
372f4a2713aSLionel Sambucdef d_Flag : Flag<["-"], "d">, Group<d_Group>;
373f4a2713aSLionel Sambucdef d_Joined : Joined<["-"], "d">, Group<d_Group>;
374f4a2713aSLionel Sambucdef emit_ast : Flag<["-"], "emit-ast">,
375f4a2713aSLionel Sambuc  HelpText<"Emit Clang AST files for source inputs">;
376f4a2713aSLionel Sambucdef emit_llvm : Flag<["-"], "emit-llvm">, Flags<[CC1Option]>, Group<Action_Group>,
377f4a2713aSLionel Sambuc  HelpText<"Use the LLVM representation for assembler and object files">;
378f4a2713aSLionel Sambucdef exported__symbols__list : Separate<["-"], "exported_symbols_list">;
379f4a2713aSLionel Sambucdef e : JoinedOrSeparate<["-"], "e">;
380f4a2713aSLionel Sambucdef fPIC : Flag<["-"], "fPIC">, Group<f_Group>;
381f4a2713aSLionel Sambucdef fno_PIC : Flag<["-"], "fno-PIC">, Group<f_Group>;
382f4a2713aSLionel Sambucdef fPIE : Flag<["-"], "fPIE">, Group<f_Group>;
383f4a2713aSLionel Sambucdef fno_PIE : Flag<["-"], "fno-PIE">, Group<f_Group>;
384f4a2713aSLionel Sambucdef faccess_control : Flag<["-"], "faccess-control">, Group<f_Group>;
385f4a2713aSLionel Sambucdef fallow_unsupported : Flag<["-"], "fallow-unsupported">, Group<f_Group>;
386f4a2713aSLionel Sambucdef fapple_kext : Flag<["-"], "fapple-kext">, Group<f_Group>, Flags<[CC1Option]>,
387f4a2713aSLionel Sambuc  HelpText<"Use Apple's kernel extensions ABI">;
388f4a2713aSLionel Sambucdef fapple_pragma_pack : Flag<["-"], "fapple-pragma-pack">, Group<f_Group>, Flags<[CC1Option]>,
389f4a2713aSLionel Sambuc  HelpText<"Enable Apple gcc-compatible #pragma pack handling">;
390*0a6a1f1dSLionel Sambucdef shared_libasan : Flag<["-"], "shared-libasan">;
391f4a2713aSLionel Sambucdef fasm : Flag<["-"], "fasm">, Group<f_Group>;
392f4a2713aSLionel Sambuc
393f4a2713aSLionel Sambucdef fasm_blocks : Flag<["-"], "fasm-blocks">, Group<f_Group>, Flags<[CC1Option]>;
394f4a2713aSLionel Sambucdef fno_asm_blocks : Flag<["-"], "fno-asm-blocks">, Group<f_Group>;
395f4a2713aSLionel Sambuc
396f4a2713aSLionel Sambucdef fassume_sane_operator_new : Flag<["-"], "fassume-sane-operator-new">, Group<f_Group>;
397f4a2713aSLionel Sambucdef fastcp : Flag<["-"], "fastcp">, Group<f_Group>;
398f4a2713aSLionel Sambucdef fastf : Flag<["-"], "fastf">, Group<f_Group>;
399f4a2713aSLionel Sambucdef fast : Flag<["-"], "fast">, Group<f_Group>;
400f4a2713aSLionel Sambucdef fasynchronous_unwind_tables : Flag<["-"], "fasynchronous-unwind-tables">, Group<f_Group>;
401f4a2713aSLionel Sambuc
402f4a2713aSLionel Sambucdef fautolink : Flag <["-"], "fautolink">, Group<f_Group>;
403f4a2713aSLionel Sambucdef fno_autolink : Flag <["-"], "fno-autolink">, Group<f_Group>,
404f4a2713aSLionel Sambuc  Flags<[DriverOption, CC1Option]>,
405f4a2713aSLionel Sambuc  HelpText<"Disable generation of linker directives for automatic library linking">;
406f4a2713aSLionel Sambuc
407f4a2713aSLionel Sambucdef fprofile_sample_use_EQ : Joined<["-"], "fprofile-sample-use=">,
408f4a2713aSLionel Sambuc    Group<f_Group>, Flags<[DriverOption, CC1Option]>,
409f4a2713aSLionel Sambuc    HelpText<"Enable sample-based profile guided optimizations">;
410*0a6a1f1dSLionel Sambucdef fauto_profile_EQ : Joined<["-"], "fauto-profile=">,
411*0a6a1f1dSLionel Sambuc    Alias<fprofile_sample_use_EQ>;
412*0a6a1f1dSLionel Sambucdef fprofile_instr_generate : Flag<["-"], "fprofile-instr-generate">,
413*0a6a1f1dSLionel Sambuc    Group<f_Group>, Flags<[CC1Option]>,
414*0a6a1f1dSLionel Sambuc    HelpText<"Generate instrumented code to collect execution counts">;
415*0a6a1f1dSLionel Sambucdef fprofile_instr_use : Flag<["-"], "fprofile-instr-use">, Group<f_Group>;
416*0a6a1f1dSLionel Sambucdef fprofile_instr_use_EQ : Joined<["-"], "fprofile-instr-use=">,
417*0a6a1f1dSLionel Sambuc    Group<f_Group>, Flags<[CC1Option]>,
418*0a6a1f1dSLionel Sambuc    HelpText<"Use instrumentation data for profile-guided optimization">;
419*0a6a1f1dSLionel Sambucdef fcoverage_mapping : Flag<["-"], "fcoverage-mapping">,
420*0a6a1f1dSLionel Sambuc    Group<f_Group>, Flags<[CC1Option]>,
421*0a6a1f1dSLionel Sambuc    HelpText<"Generate coverage mapping to enable code coverage analysis">;
422f4a2713aSLionel Sambuc
423f4a2713aSLionel Sambucdef fblocks : Flag<["-"], "fblocks">, Group<f_Group>, Flags<[CC1Option]>,
424f4a2713aSLionel Sambuc  HelpText<"Enable the 'blocks' language feature">;
425f4a2713aSLionel Sambucdef fbootclasspath_EQ : Joined<["-"], "fbootclasspath=">, Group<f_Group>;
426f4a2713aSLionel Sambucdef fborland_extensions : Flag<["-"], "fborland-extensions">, Group<f_Group>, Flags<[CC1Option]>,
427f4a2713aSLionel Sambuc  HelpText<"Accept non-standard constructs supported by the Borland compiler">;
428f4a2713aSLionel Sambucdef fbuiltin : Flag<["-"], "fbuiltin">, Group<f_Group>;
429f4a2713aSLionel Sambucdef fcaret_diagnostics : Flag<["-"], "fcaret-diagnostics">, Group<f_Group>;
430f4a2713aSLionel Sambucdef fclasspath_EQ : Joined<["-"], "fclasspath=">, Group<f_Group>;
431f4a2713aSLionel Sambucdef fcolor_diagnostics : Flag<["-"], "fcolor-diagnostics">, Group<f_Group>, Flags<[CC1Option]>,
432f4a2713aSLionel Sambuc  HelpText<"Use colors in diagnostics">;
433f4a2713aSLionel Sambucdef fdiagnostics_color : Flag<["-"], "fdiagnostics-color">, Group<f_Group>;
434f4a2713aSLionel Sambucdef fdiagnostics_color_EQ : Joined<["-"], "fdiagnostics-color=">, Group<f_Group>;
435f4a2713aSLionel Sambucdef fansi_escape_codes : Flag<["-"], "fansi-escape-codes">, Group<f_Group>, Flags<[CC1Option]>,
436f4a2713aSLionel Sambuc  HelpText<"Use ANSI escape codes for diagnostics">;
437f4a2713aSLionel Sambucdef fcomment_block_commands : CommaJoined<["-"], "fcomment-block-commands=">, Group<f_clang_Group>, Flags<[CC1Option]>,
438f4a2713aSLionel Sambuc  HelpText<"Treat each comma separated argument in <arg> as a documentation comment block command">,
439f4a2713aSLionel Sambuc  MetaVarName<"<arg>">;
440f4a2713aSLionel Sambucdef fparse_all_comments : Flag<["-"], "fparse-all-comments">, Group<f_clang_Group>, Flags<[CC1Option]>;
441f4a2713aSLionel Sambucdef fcommon : Flag<["-"], "fcommon">, Group<f_Group>;
442f4a2713aSLionel Sambucdef fcompile_resource_EQ : Joined<["-"], "fcompile-resource=">, Group<f_Group>;
443f4a2713aSLionel Sambucdef fconstant_cfstrings : Flag<["-"], "fconstant-cfstrings">, Group<f_Group>;
444f4a2713aSLionel Sambucdef fconstant_string_class_EQ : Joined<["-"], "fconstant-string-class=">, Group<f_Group>;
445f4a2713aSLionel Sambucdef fconstexpr_depth_EQ : Joined<["-"], "fconstexpr-depth=">, Group<f_Group>;
446f4a2713aSLionel Sambucdef fconstexpr_steps_EQ : Joined<["-"], "fconstexpr-steps=">, Group<f_Group>;
447f4a2713aSLionel Sambucdef fconstexpr_backtrace_limit_EQ : Joined<["-"], "fconstexpr-backtrace-limit=">,
448f4a2713aSLionel Sambuc                                    Group<f_Group>;
449f4a2713aSLionel Sambucdef fno_crash_diagnostics : Flag<["-"], "fno-crash-diagnostics">, Group<f_clang_Group>, Flags<[NoArgumentUnused]>;
450f4a2713aSLionel Sambucdef fcreate_profile : Flag<["-"], "fcreate-profile">, Group<f_Group>;
451f4a2713aSLionel Sambucdef fcxx_exceptions: Flag<["-"], "fcxx-exceptions">, Group<f_Group>,
452f4a2713aSLionel Sambuc  HelpText<"Enable C++ exceptions">, Flags<[CC1Option]>;
453f4a2713aSLionel Sambucdef fcxx_modules : Flag <["-"], "fcxx-modules">, Group<f_Group>,
454f4a2713aSLionel Sambuc  Flags<[DriverOption]>;
455f4a2713aSLionel Sambucdef fdebug_pass_arguments : Flag<["-"], "fdebug-pass-arguments">, Group<f_Group>;
456f4a2713aSLionel Sambucdef fdebug_pass_structure : Flag<["-"], "fdebug-pass-structure">, Group<f_Group>;
457f4a2713aSLionel Sambucdef fdiagnostics_fixit_info : Flag<["-"], "fdiagnostics-fixit-info">, Group<f_clang_Group>;
458f4a2713aSLionel Sambucdef fdiagnostics_parseable_fixits : Flag<["-"], "fdiagnostics-parseable-fixits">, Group<f_clang_Group>,
459f4a2713aSLionel Sambuc    Flags<[CC1Option]>, HelpText<"Print fix-its in machine parseable form">;
460f4a2713aSLionel Sambucdef fdiagnostics_print_source_range_info : Flag<["-"], "fdiagnostics-print-source-range-info">,
461f4a2713aSLionel Sambuc    Group<f_clang_Group>,  Flags<[CC1Option]>,
462f4a2713aSLionel Sambuc    HelpText<"Print source range spans in numeric form">;
463f4a2713aSLionel Sambucdef fdiagnostics_show_option : Flag<["-"], "fdiagnostics-show-option">, Group<f_Group>,
464f4a2713aSLionel Sambuc    Flags<[CC1Option]>, HelpText<"Print option name with mappable diagnostics">;
465f4a2713aSLionel Sambucdef fdiagnostics_show_note_include_stack : Flag<["-"], "fdiagnostics-show-note-include-stack">,
466f4a2713aSLionel Sambuc    Group<f_Group>,  Flags<[CC1Option]>, HelpText<"Display include stacks for diagnostic notes">;
467f4a2713aSLionel Sambucdef fdiagnostics_format_EQ : Joined<["-"], "fdiagnostics-format=">, Group<f_clang_Group>;
468f4a2713aSLionel Sambucdef fdiagnostics_show_category_EQ : Joined<["-"], "fdiagnostics-show-category=">, Group<f_clang_Group>;
469f4a2713aSLionel Sambucdef fdiagnostics_show_template_tree : Flag<["-"], "fdiagnostics-show-template-tree">,
470f4a2713aSLionel Sambuc    Group<f_Group>, Flags<[CC1Option]>,
471f4a2713aSLionel Sambuc    HelpText<"Print a template comparison tree for differing templates">;
472f4a2713aSLionel Sambucdef fdollars_in_identifiers : Flag<["-"], "fdollars-in-identifiers">, Group<f_Group>,
473f4a2713aSLionel Sambuc  HelpText<"Allow '$' in identifiers">, Flags<[CC1Option]>;
474*0a6a1f1dSLionel Sambucdef fdwarf2_cfi_asm : Flag<["-"], "fdwarf2-cfi-asm">, Group<clang_ignored_f_Group>;
475*0a6a1f1dSLionel Sambucdef fno_dwarf2_cfi_asm : Flag<["-"], "fno-dwarf2-cfi-asm">, Group<clang_ignored_f_Group>;
476f4a2713aSLionel Sambucdef fdwarf_directory_asm : Flag<["-"], "fdwarf-directory-asm">, Group<f_Group>;
477f4a2713aSLionel Sambucdef fno_dwarf_directory_asm : Flag<["-"], "fno-dwarf-directory-asm">, Group<f_Group>, Flags<[CC1Option]>;
478f4a2713aSLionel Sambucdef felide_constructors : Flag<["-"], "felide-constructors">, Group<f_Group>;
479f4a2713aSLionel Sambucdef fno_elide_type : Flag<["-"], "fno-elide-type">, Group<f_Group>,
480f4a2713aSLionel Sambuc    Flags<[CC1Option]>,
481f4a2713aSLionel Sambuc    HelpText<"Do not elide types when printing diagnostics">;
482f4a2713aSLionel Sambucdef feliminate_unused_debug_symbols : Flag<["-"], "feliminate-unused-debug-symbols">, Group<f_Group>;
483f4a2713aSLionel Sambucdef femit_all_decls : Flag<["-"], "femit-all-decls">, Group<f_Group>, Flags<[CC1Option]>,
484f4a2713aSLionel Sambuc  HelpText<"Emit all declarations, even if unused">;
485f4a2713aSLionel Sambucdef fencoding_EQ : Joined<["-"], "fencoding=">, Group<f_Group>;
486*0a6a1f1dSLionel Sambucdef ferror_limit_EQ : Joined<["-"], "ferror-limit=">, Group<f_Group>, Flags<[CoreOption]>;
487f4a2713aSLionel Sambucdef fexceptions : Flag<["-"], "fexceptions">, Group<f_Group>, Flags<[CC1Option]>,
488f4a2713aSLionel Sambuc  HelpText<"Enable support for exception handling">;
489*0a6a1f1dSLionel Sambucdef fexcess_precision_EQ : Joined<["-"], "fexcess-precision=">,
490*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
491*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fexpensive-optimizations">, Group<clang_ignored_gcc_optimization_f_Group>;
492*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fno-expensive-optimizations">, Group<clang_ignored_gcc_optimization_f_Group>;
493f4a2713aSLionel Sambucdef fextdirs_EQ : Joined<["-"], "fextdirs=">, Group<f_Group>;
494*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fdefer-pop">, Group<clang_ignored_gcc_optimization_f_Group>;
495*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fno-defer-pop">, Group<clang_ignored_gcc_optimization_f_Group>;
496*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fextended-identifiers">, Group<clang_ignored_f_Group>;
497*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fno-extended-identifiers">, Group<f_Group>, Flags<[Unsupported]>;
498f4a2713aSLionel Sambucdef fhosted : Flag<["-"], "fhosted">, Group<f_Group>;
499f4a2713aSLionel Sambucdef ffast_math : Flag<["-"], "ffast-math">, Group<f_Group>, Flags<[CC1Option]>,
500f4a2713aSLionel Sambuc  HelpText<"Enable the *frontend*'s 'fast-math' mode. This has no effect on "
501f4a2713aSLionel Sambuc           "optimizations, but provides a preprocessor macro __FAST_MATH__ the "
502f4a2713aSLionel Sambuc           "same as GCC's -ffast-math flag">;
503f4a2713aSLionel Sambucdef fno_fast_math : Flag<["-"], "fno-fast-math">, Group<f_Group>;
504f4a2713aSLionel Sambucdef fmath_errno : Flag<["-"], "fmath-errno">, Group<f_Group>, Flags<[CC1Option]>,
505f4a2713aSLionel Sambuc  HelpText<"Require math functions to indicate errors by setting errno">;
506f4a2713aSLionel Sambucdef fno_math_errno : Flag<["-"], "fno-math-errno">, Group<f_Group>;
507f4a2713aSLionel Sambucdef fbracket_depth_EQ : Joined<["-"], "fbracket-depth=">, Group<f_Group>;
508f4a2713aSLionel Sambucdef fsignaling_math : Flag<["-"], "fsignaling-math">, Group<f_Group>;
509f4a2713aSLionel Sambucdef fno_signaling_math : Flag<["-"], "fno-signaling-math">, Group<f_Group>;
510f4a2713aSLionel Sambucdef fsanitize_EQ : CommaJoined<["-"], "fsanitize=">, Group<f_clang_Group>,
511f4a2713aSLionel Sambuc                   Flags<[CC1Option, CoreOption]>, MetaVarName<"<check>">,
512*0a6a1f1dSLionel Sambuc                   HelpText<"Turn on runtime checks for various forms of undefined "
513*0a6a1f1dSLionel Sambuc                            "or suspicious behavior. See user manual for available checks ">;
514f4a2713aSLionel Sambucdef fno_sanitize_EQ : CommaJoined<["-"], "fno-sanitize=">, Group<f_clang_Group>;
515f4a2713aSLionel Sambucdef fsanitize_blacklist : Joined<["-"], "fsanitize-blacklist=">,
516*0a6a1f1dSLionel Sambuc                          Group<f_clang_Group>, Flags<[CC1Option, CoreOption]>,
517f4a2713aSLionel Sambuc                          HelpText<"Path to blacklist file for sanitizers">;
518f4a2713aSLionel Sambucdef fno_sanitize_blacklist : Flag<["-"], "fno-sanitize-blacklist">,
519f4a2713aSLionel Sambuc                             Group<f_clang_Group>,
520f4a2713aSLionel Sambuc                             HelpText<"Don't use blacklist file for sanitizers">;
521*0a6a1f1dSLionel Sambucdef fsanitize_coverage : Joined<["-"], "fsanitize-coverage=">,
522*0a6a1f1dSLionel Sambuc                                        Group<f_clang_Group>, Flags<[CC1Option]>,
523*0a6a1f1dSLionel Sambuc                                        HelpText<"Enable coverage instrumentation for Sanitizers">;
524*0a6a1f1dSLionel Sambucdef fsanitize_memory_track_origins_EQ : Joined<["-"], "fsanitize-memory-track-origins=">,
525*0a6a1f1dSLionel Sambuc                                        Group<f_clang_Group>, Flags<[CC1Option]>,
526*0a6a1f1dSLionel Sambuc                                        HelpText<"Enable origins tracking in MemorySanitizer">;
527f4a2713aSLionel Sambucdef fsanitize_memory_track_origins : Flag<["-"], "fsanitize-memory-track-origins">,
528f4a2713aSLionel Sambuc                                     Group<f_clang_Group>, Flags<[CC1Option]>,
529f4a2713aSLionel Sambuc                                     HelpText<"Enable origins tracking in MemorySanitizer">;
530f4a2713aSLionel Sambucdef fno_sanitize_memory_track_origins : Flag<["-"], "fno-sanitize-memory-track-origins">,
531f4a2713aSLionel Sambuc                                        Group<f_clang_Group>, Flags<[CC1Option]>,
532*0a6a1f1dSLionel Sambuc                                        HelpText<"Disable origins tracking in MemorySanitizer">;
533*0a6a1f1dSLionel Sambucdef fsanitize_address_field_padding : Joined<["-"], "fsanitize-address-field-padding=">,
534*0a6a1f1dSLionel Sambuc                                        Group<f_clang_Group>, Flags<[CC1Option]>,
535*0a6a1f1dSLionel Sambuc                                        HelpText<"Level of field padding for AddressSanitizer">;
536*0a6a1f1dSLionel Sambucdef fsanitize_recover : Flag<["-"], "fsanitize-recover">, Group<f_clang_Group>;
537*0a6a1f1dSLionel Sambucdef fno_sanitize_recover : Flag<["-"], "fno-sanitize-recover">,
538*0a6a1f1dSLionel Sambuc                           Group<f_clang_Group>;
539*0a6a1f1dSLionel Sambucdef fsanitize_recover_EQ : CommaJoined<["-"], "fsanitize-recover=">,
540*0a6a1f1dSLionel Sambuc                           Group<f_clang_Group>,
541*0a6a1f1dSLionel Sambuc                           Flags<[CC1Option]>,
542*0a6a1f1dSLionel Sambuc                           HelpText<"Enable recovery for specified sanitizers">;
543*0a6a1f1dSLionel Sambucdef fno_sanitize_recover_EQ
544*0a6a1f1dSLionel Sambuc    : CommaJoined<["-"], "fno-sanitize-recover=">,
545*0a6a1f1dSLionel Sambuc      Group<f_clang_Group>,
546*0a6a1f1dSLionel Sambuc      HelpText<"Disable recovery for specified sanitizers">;
547f4a2713aSLionel Sambucdef fsanitize_undefined_trap_on_error : Flag<["-"], "fsanitize-undefined-trap-on-error">,
548f4a2713aSLionel Sambuc                                        Group<f_clang_Group>, Flags<[CC1Option]>;
549f4a2713aSLionel Sambucdef fno_sanitize_undefined_trap_on_error : Flag<["-"], "fno-sanitize-undefined-trap-on-error">,
550f4a2713aSLionel Sambuc                                           Group<f_clang_Group>;
551*0a6a1f1dSLionel Sambucdef fsanitize_link_cxx_runtime : Flag<["-"], "fsanitize-link-c++-runtime">,
552*0a6a1f1dSLionel Sambuc                                 Group<f_clang_Group>;
553f4a2713aSLionel Sambucdef funsafe_math_optimizations : Flag<["-"], "funsafe-math-optimizations">,
554f4a2713aSLionel Sambuc  Group<f_Group>;
555f4a2713aSLionel Sambucdef fno_unsafe_math_optimizations : Flag<["-"], "fno-unsafe-math-optimizations">,
556f4a2713aSLionel Sambuc  Group<f_Group>;
557f4a2713aSLionel Sambucdef fassociative_math : Flag<["-"], "fassociative-math">, Group<f_Group>;
558f4a2713aSLionel Sambucdef fno_associative_math : Flag<["-"], "fno-associative-math">, Group<f_Group>;
559f4a2713aSLionel Sambucdef freciprocal_math : Flag<["-"], "freciprocal-math">, Group<f_Group>;
560f4a2713aSLionel Sambucdef fno_reciprocal_math : Flag<["-"], "fno-reciprocal-math">, Group<f_Group>;
561f4a2713aSLionel Sambucdef ffinite_math_only : Flag<["-"], "ffinite-math-only">, Group<f_Group>, Flags<[CC1Option]>;
562f4a2713aSLionel Sambucdef fno_finite_math_only : Flag<["-"], "fno-finite-math-only">, Group<f_Group>;
563f4a2713aSLionel Sambucdef fsigned_zeros : Flag<["-"], "fsigned-zeros">, Group<f_Group>;
564f4a2713aSLionel Sambucdef fno_signed_zeros : Flag<["-"], "fno-signed-zeros">, Group<f_Group>;
565f4a2713aSLionel Sambucdef fhonor_nans : Flag<["-"], "fhonor-nans">, Group<f_Group>;
566f4a2713aSLionel Sambucdef fno_honor_nans : Flag<["-"], "fno-honor-nans">, Group<f_Group>;
567f4a2713aSLionel Sambucdef fhonor_infinities : Flag<["-"], "fhonor-infinities">, Group<f_Group>;
568f4a2713aSLionel Sambucdef fno_honor_infinities : Flag<["-"], "fno-honor-infinities">, Group<f_Group>;
569*0a6a1f1dSLionel Sambuc// This option was originally misspelt "infinites" [sic].
570*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fhonor-infinites">, Alias<fhonor_infinities>;
571*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fno-honor-infinites">, Alias<fno_honor_infinities>;
572f4a2713aSLionel Sambucdef ftrapping_math : Flag<["-"], "ftrapping-math">, Group<f_Group>;
573f4a2713aSLionel Sambucdef fno_trapping_math : Flag<["-"], "fno-trapping-math">, Group<f_Group>;
574f4a2713aSLionel Sambucdef ffp_contract : Joined<["-"], "ffp-contract=">, Group<f_Group>,
575f4a2713aSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Form fused FP ops (e.g. FMAs): fast (everywhere)"
576f4a2713aSLionel Sambuc  " | on (according to FP_CONTRACT pragma, default) | off (never fuse)">;
577f4a2713aSLionel Sambuc
578f4a2713aSLionel Sambucdef ffor_scope : Flag<["-"], "ffor-scope">, Group<f_Group>;
579f4a2713aSLionel Sambucdef fno_for_scope : Flag<["-"], "fno-for-scope">, Group<f_Group>;
580f4a2713aSLionel Sambuc
581f4a2713aSLionel Sambucdef frewrite_includes : Flag<["-"], "frewrite-includes">, Group<f_Group>,
582f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
583f4a2713aSLionel Sambucdef fno_rewrite_includes : Flag<["-"], "fno-rewrite-includes">, Group<f_Group>;
584f4a2713aSLionel Sambuc
585*0a6a1f1dSLionel Sambucdef frewrite_map_file : Separate<["-"], "frewrite-map-file">,
586*0a6a1f1dSLionel Sambuc                        Group<f_Group>,
587*0a6a1f1dSLionel Sambuc                        Flags<[ DriverOption, CC1Option ]>;
588*0a6a1f1dSLionel Sambucdef frewrite_map_file_EQ : Joined<["-"], "frewrite-map-file=">,
589*0a6a1f1dSLionel Sambuc                           Group<f_Group>,
590*0a6a1f1dSLionel Sambuc                           Flags<[DriverOption]>;
591*0a6a1f1dSLionel Sambuc
592f4a2713aSLionel Sambucdef ffreestanding : Flag<["-"], "ffreestanding">, Group<f_Group>, Flags<[CC1Option]>,
593f4a2713aSLionel Sambuc  HelpText<"Assert that the compilation takes place in a freestanding environment">;
594f4a2713aSLionel Sambucdef fgnu_keywords : Flag<["-"], "fgnu-keywords">, Group<f_Group>, Flags<[CC1Option]>,
595f4a2713aSLionel Sambuc  HelpText<"Allow GNU-extension keywords regardless of language standard">;
596f4a2713aSLionel Sambucdef fgnu89_inline : Flag<["-"], "fgnu89-inline">, Group<f_Group>, Flags<[CC1Option]>,
597f4a2713aSLionel Sambuc  HelpText<"Use the gnu89 inline semantics">;
598f4a2713aSLionel Sambucdef fno_gnu89_inline : Flag<["-"], "fno-gnu89-inline">, Group<f_Group>;
599f4a2713aSLionel Sambucdef fgnu_runtime : Flag<["-"], "fgnu-runtime">, Group<f_Group>,
600f4a2713aSLionel Sambuc  HelpText<"Generate output compatible with the standard GNU Objective-C runtime">;
601f4a2713aSLionel Sambucdef fheinous_gnu_extensions : Flag<["-"], "fheinous-gnu-extensions">, Flags<[CC1Option]>;
602f4a2713aSLionel Sambucdef filelist : Separate<["-"], "filelist">, Flags<[LinkerInput]>;
603*0a6a1f1dSLionel Sambucdef : Flag<["-"], "findirect-virtual-calls">, Alias<fapple_kext>;
604*0a6a1f1dSLionel Sambucdef finline_functions : Flag<["-"], "finline-functions">, Group<clang_ignored_gcc_optimization_f_Group>;
605f4a2713aSLionel Sambucdef finline : Flag<["-"], "finline">, Group<clang_ignored_f_Group>;
606*0a6a1f1dSLionel Sambucdef finput_charset_EQ : Joined<["-"], "finput-charset=">, Group<f_Group>;
607*0a6a1f1dSLionel Sambucdef fexec_charset_EQ : Joined<["-"], "fexec-charset=">, Group<f_Group>;
608f4a2713aSLionel Sambucdef finstrument_functions : Flag<["-"], "finstrument-functions">, Group<f_Group>, Flags<[CC1Option]>,
609f4a2713aSLionel Sambuc  HelpText<"Generate calls to instrument function entry and exit">;
610f4a2713aSLionel Sambucdef flat__namespace : Flag<["-"], "flat_namespace">;
611f4a2713aSLionel Sambucdef flax_vector_conversions : Flag<["-"], "flax-vector-conversions">, Group<f_Group>;
612f4a2713aSLionel Sambucdef flimited_precision_EQ : Joined<["-"], "flimited-precision=">, Group<f_Group>;
613*0a6a1f1dSLionel Sambucdef flto_EQ : Joined<["-"], "flto=">, Group<clang_ignored_gcc_optimization_f_Group>;
614f4a2713aSLionel Sambucdef flto : Flag<["-"], "flto">, Group<f_Group>;
615f4a2713aSLionel Sambucdef fno_lto : Flag<["-"], "fno-lto">, Group<f_Group>;
616f4a2713aSLionel Sambucdef fmacro_backtrace_limit_EQ : Joined<["-"], "fmacro-backtrace-limit=">,
617f4a2713aSLionel Sambuc                                Group<f_Group>;
618f4a2713aSLionel Sambucdef fmerge_all_constants : Flag<["-"], "fmerge-all-constants">, Group<f_Group>;
619f4a2713aSLionel Sambucdef fmessage_length_EQ : Joined<["-"], "fmessage-length=">, Group<f_Group>;
620f4a2713aSLionel Sambucdef fms_extensions : Flag<["-"], "fms-extensions">, Group<f_Group>, Flags<[CC1Option]>,
621f4a2713aSLionel Sambuc  HelpText<"Accept some non-standard constructs supported by the Microsoft compiler">;
622f4a2713aSLionel Sambucdef fms_compatibility : Flag<["-"], "fms-compatibility">, Group<f_Group>, Flags<[CC1Option]>,
623*0a6a1f1dSLionel Sambuc  HelpText<"Enable full Microsoft Visual C++ compatibility">;
624*0a6a1f1dSLionel Sambucdef fmsc_version : Joined<["-"], "fmsc-version=">, Group<f_Group>, Flags<[DriverOption, CoreOption]>,
625*0a6a1f1dSLionel Sambuc  HelpText<"Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))">;
626*0a6a1f1dSLionel Sambucdef fms_compatibility_version
627*0a6a1f1dSLionel Sambuc    : Joined<["-"], "fms-compatibility-version=">,
628*0a6a1f1dSLionel Sambuc      Group<f_Group>,
629*0a6a1f1dSLionel Sambuc      Flags<[ CC1Option, CoreOption ]>,
630*0a6a1f1dSLionel Sambuc      HelpText<"Dot-separated value representing the Microsoft compiler "
631*0a6a1f1dSLionel Sambuc               "version number to report in _MSC_VER (0 = don't define it "
632*0a6a1f1dSLionel Sambuc               "(default))">;
633f4a2713aSLionel Sambucdef fdelayed_template_parsing : Flag<["-"], "fdelayed-template-parsing">, Group<f_Group>,
634f4a2713aSLionel Sambuc  HelpText<"Parse templated function definitions at the end of the "
635f4a2713aSLionel Sambuc           "translation unit">,  Flags<[CC1Option]>;
636*0a6a1f1dSLionel Sambucdef fms_memptr_rep_EQ : Joined<["-"], "fms-memptr-rep=">, Group<f_Group>, Flags<[CC1Option]>;
637f4a2713aSLionel Sambucdef fmodules_cache_path : Joined<["-"], "fmodules-cache-path=">, Group<i_Group>,
638f4a2713aSLionel Sambuc  Flags<[DriverOption, CC1Option]>, MetaVarName<"<directory>">,
639f4a2713aSLionel Sambuc  HelpText<"Specify the module cache path">;
640*0a6a1f1dSLionel Sambucdef fmodules_user_build_path : Separate<["-"], "fmodules-user-build-path">, Group<i_Group>,
641*0a6a1f1dSLionel Sambuc  Flags<[DriverOption, CC1Option]>, MetaVarName<"<directory>">,
642*0a6a1f1dSLionel Sambuc  HelpText<"Specify the module user build path">;
643f4a2713aSLionel Sambucdef fmodules_prune_interval : Joined<["-"], "fmodules-prune-interval=">, Group<i_Group>,
644f4a2713aSLionel Sambuc  Flags<[CC1Option]>, MetaVarName<"<seconds>">,
645f4a2713aSLionel Sambuc  HelpText<"Specify the interval (in seconds) between attempts to prune the module cache">;
646f4a2713aSLionel Sambucdef fmodules_prune_after : Joined<["-"], "fmodules-prune-after=">, Group<i_Group>,
647f4a2713aSLionel Sambuc  Flags<[CC1Option]>, MetaVarName<"<seconds>">,
648f4a2713aSLionel Sambuc  HelpText<"Specify the interval (in seconds) after which a module file will be considered unused">;
649*0a6a1f1dSLionel Sambucdef fmodules_search_all : Flag <["-"], "fmodules-search-all">, Group<f_Group>,
650*0a6a1f1dSLionel Sambuc  Flags<[DriverOption, CC1Option]>,
651*0a6a1f1dSLionel Sambuc  HelpText<"Search even non-imported modules to resolve references">;
652*0a6a1f1dSLionel Sambucdef fbuild_session_timestamp : Joined<["-"], "fbuild-session-timestamp=">,
653*0a6a1f1dSLionel Sambuc  Group<i_Group>, Flags<[CC1Option]>, MetaVarName<"<time since Epoch in seconds>">,
654*0a6a1f1dSLionel Sambuc  HelpText<"Time when the current build session started">;
655*0a6a1f1dSLionel Sambucdef fbuild_session_file : Joined<["-"], "fbuild-session-file=">,
656*0a6a1f1dSLionel Sambuc  Group<i_Group>, MetaVarName<"<file>">,
657*0a6a1f1dSLionel Sambuc  HelpText<"Use the last modification time of <file> as the build session timestamp">;
658*0a6a1f1dSLionel Sambucdef fmodules_validate_once_per_build_session : Flag<["-"], "fmodules-validate-once-per-build-session">,
659*0a6a1f1dSLionel Sambuc  Group<i_Group>, Flags<[CC1Option]>,
660*0a6a1f1dSLionel Sambuc  HelpText<"Don't verify input files for the modules if the module has been "
661*0a6a1f1dSLionel Sambuc           "successfully validated or loaded during this build session">;
662*0a6a1f1dSLionel Sambucdef fmodules_validate_system_headers : Flag<["-"], "fmodules-validate-system-headers">,
663*0a6a1f1dSLionel Sambuc  Group<i_Group>, Flags<[CC1Option]>,
664*0a6a1f1dSLionel Sambuc  HelpText<"Validate the system headers that a module depends on when loading the module">;
665f4a2713aSLionel Sambucdef fmodules : Flag <["-"], "fmodules">, Group<f_Group>,
666f4a2713aSLionel Sambuc  Flags<[DriverOption, CC1Option]>,
667f4a2713aSLionel Sambuc  HelpText<"Enable the 'modules' language feature">;
668f4a2713aSLionel Sambucdef fmodule_maps : Flag <["-"], "fmodule-maps">, Group<f_Group>,
669f4a2713aSLionel Sambuc  Flags<[DriverOption,CC1Option]>,
670f4a2713aSLionel Sambuc  HelpText<"Read module maps to understand the structure of library headers">;
671f4a2713aSLionel Sambucdef fmodule_name : JoinedOrSeparate<["-"], "fmodule-name=">, Group<f_Group>,
672f4a2713aSLionel Sambuc  Flags<[DriverOption,CC1Option]>, MetaVarName<"<name>">,
673f4a2713aSLionel Sambuc  HelpText<"Specify the name of the module to build">;
674*0a6a1f1dSLionel Sambucdef fmodule_map_file : Joined<["-"], "fmodule-map-file=">,
675f4a2713aSLionel Sambuc  Group<f_Group>, Flags<[DriverOption,CC1Option]>, MetaVarName<"<file>">,
676f4a2713aSLionel Sambuc  HelpText<"Load this module map file">;
677*0a6a1f1dSLionel Sambucdef fmodule_file : Joined<["-"], "fmodule-file=">,
678*0a6a1f1dSLionel Sambuc  Group<f_Group>, Flags<[DriverOption,CC1Option]>,
679*0a6a1f1dSLionel Sambuc  HelpText<"Load this precompiled module file">, MetaVarName<"<file>">;
680f4a2713aSLionel Sambucdef fmodules_ignore_macro : Joined<["-"], "fmodules-ignore-macro=">, Group<f_Group>, Flags<[CC1Option]>,
681f4a2713aSLionel Sambuc  HelpText<"Ignore the definition of the given macro when building and loading modules">;
682f4a2713aSLionel Sambucdef fmodules_decluse : Flag <["-"], "fmodules-decluse">, Group<f_Group>,
683f4a2713aSLionel Sambuc  Flags<[DriverOption,CC1Option]>,
684f4a2713aSLionel Sambuc  HelpText<"Require declaration of modules used within a module">;
685*0a6a1f1dSLionel Sambucdef fmodules_strict_decluse : Flag <["-"], "fmodules-strict-decluse">, Group<f_Group>,
686*0a6a1f1dSLionel Sambuc  Flags<[DriverOption,CC1Option]>,
687*0a6a1f1dSLionel Sambuc  HelpText<"Like -fmodules-decluse but requires all headers to be in modules">;
688*0a6a1f1dSLionel Sambucdef fno_modules_search_all : Flag <["-"], "fno-modules-search-all">, Group<f_Group>,
689*0a6a1f1dSLionel Sambuc  Flags<[DriverOption, CC1Option]>;
690*0a6a1f1dSLionel Sambucdef fmodules_implicit_maps :
691*0a6a1f1dSLionel Sambuc  Flag <["-"], "fmodules-implicit-maps">,
692*0a6a1f1dSLionel Sambuc  Group<f_Group>, Flags<[DriverOption, CC1Option]>;
693*0a6a1f1dSLionel Sambucdef fno_modules_implicit_maps :
694*0a6a1f1dSLionel Sambuc  Flag <["-"], "fno-modules-implicit-maps">,
695*0a6a1f1dSLionel Sambuc  Group<f_Group>, Flags<[DriverOption, CC1Option]>;
696f4a2713aSLionel Sambucdef fretain_comments_from_system_headers : Flag<["-"], "fretain-comments-from-system-headers">, Group<f_Group>, Flags<[CC1Option]>;
697f4a2713aSLionel Sambuc
698f4a2713aSLionel Sambucdef fmudflapth : Flag<["-"], "fmudflapth">, Group<f_Group>;
699f4a2713aSLionel Sambucdef fmudflap : Flag<["-"], "fmudflap">, Group<f_Group>;
700f4a2713aSLionel Sambucdef fnested_functions : Flag<["-"], "fnested-functions">, Group<f_Group>;
701f4a2713aSLionel Sambucdef fnext_runtime : Flag<["-"], "fnext-runtime">, Group<f_Group>;
702f4a2713aSLionel Sambucdef fno_access_control : Flag<["-"], "fno-access-control">, Group<f_Group>, Flags<[CC1Option]>,
703f4a2713aSLionel Sambuc  HelpText<"Disable C++ access control">;
704f4a2713aSLionel Sambucdef fno_apple_pragma_pack : Flag<["-"], "fno-apple-pragma-pack">, Group<f_Group>;
705f4a2713aSLionel Sambucdef fno_asm : Flag<["-"], "fno-asm">, Group<f_Group>;
706f4a2713aSLionel Sambucdef fno_asynchronous_unwind_tables : Flag<["-"], "fno-asynchronous-unwind-tables">, Group<f_Group>;
707f4a2713aSLionel Sambucdef fno_assume_sane_operator_new : Flag<["-"], "fno-assume-sane-operator-new">, Group<f_Group>,
708f4a2713aSLionel Sambuc  HelpText<"Don't assume that C++'s global operator new can't alias any pointer">,
709f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
710f4a2713aSLionel Sambucdef fno_blocks : Flag<["-"], "fno-blocks">, Group<f_Group>;
711f4a2713aSLionel Sambucdef fno_borland_extensions : Flag<["-"], "fno-borland-extensions">, Group<f_Group>;
712f4a2713aSLionel Sambucdef fno_builtin : Flag<["-"], "fno-builtin">, Group<f_Group>, Flags<[CC1Option]>,
713f4a2713aSLionel Sambuc  HelpText<"Disable implicit builtin knowledge of functions">;
714f4a2713aSLionel Sambucdef fno_builtin_ : Joined<["-"], "fno-builtin-">, Group<clang_ignored_f_Group>,
715f4a2713aSLionel Sambuc  HelpText<"Disable implicit builtin knowledge of a specific function">;
716f4a2713aSLionel Sambucdef fno_math_builtin : Flag<["-"], "fno-math-builtin">, Group<f_Group>, Flags<[CC1Option]>,
717f4a2713aSLionel Sambuc  HelpText<"Disable implicit builtin knowledge of math functions">;
718f4a2713aSLionel Sambucdef fno_caret_diagnostics : Flag<["-"], "fno-caret-diagnostics">, Group<f_Group>,
719f4a2713aSLionel Sambuc Flags<[CC1Option]>;
720f4a2713aSLionel Sambucdef fno_color_diagnostics : Flag<["-"], "fno-color-diagnostics">, Group<f_Group>;
721f4a2713aSLionel Sambucdef fno_diagnostics_color : Flag<["-"], "fno-diagnostics-color">, Group<f_Group>;
722f4a2713aSLionel Sambucdef fno_common : Flag<["-"], "fno-common">, Group<f_Group>, Flags<[CC1Option]>,
723f4a2713aSLionel Sambuc    HelpText<"Compile common globals like normal definitions">;
724f4a2713aSLionel Sambucdef fno_constant_cfstrings : Flag<["-"], "fno-constant-cfstrings">, Group<f_Group>,
725f4a2713aSLionel Sambuc  Flags<[CC1Option]>,
726f4a2713aSLionel Sambuc  HelpText<"Disable creation of CodeFoundation-type constant strings">;
727f4a2713aSLionel Sambucdef fno_cxx_exceptions: Flag<["-"], "fno-cxx-exceptions">, Group<f_Group>;
728f4a2713aSLionel Sambucdef fno_cxx_modules : Flag <["-"], "fno-cxx-modules">, Group<f_Group>,
729f4a2713aSLionel Sambuc  Flags<[DriverOption]>;
730f4a2713aSLionel Sambucdef fno_diagnostics_fixit_info : Flag<["-"], "fno-diagnostics-fixit-info">, Group<f_Group>,
731f4a2713aSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Do not include fixit information in diagnostics">;
732f4a2713aSLionel Sambucdef fno_diagnostics_show_option : Flag<["-"], "fno-diagnostics-show-option">, Group<f_Group>;
733f4a2713aSLionel Sambucdef fno_diagnostics_show_note_include_stack : Flag<["-"], "fno-diagnostics-show-note-include-stack">,
734f4a2713aSLionel Sambuc    Flags<[CC1Option]>, Group<f_Group>;
735f4a2713aSLionel Sambucdef fno_dollars_in_identifiers : Flag<["-"], "fno-dollars-in-identifiers">, Group<f_Group>,
736f4a2713aSLionel Sambuc  HelpText<"Disallow '$' in identifiers">, Flags<[CC1Option]>;
737f4a2713aSLionel Sambucdef fno_elide_constructors : Flag<["-"], "fno-elide-constructors">, Group<f_Group>,
738f4a2713aSLionel Sambuc  HelpText<"Disable C++ copy constructor elision">, Flags<[CC1Option]>;
739f4a2713aSLionel Sambucdef fno_eliminate_unused_debug_symbols : Flag<["-"], "fno-eliminate-unused-debug-symbols">, Group<f_Group>;
740f4a2713aSLionel Sambucdef fno_exceptions : Flag<["-"], "fno-exceptions">, Group<f_Group>;
741f4a2713aSLionel Sambucdef fno_gnu_keywords : Flag<["-"], "fno-gnu-keywords">, Group<f_Group>, Flags<[CC1Option]>;
742f4a2713aSLionel Sambucdef fno_inline_functions : Flag<["-"], "fno-inline-functions">, Group<f_clang_Group>, Flags<[CC1Option]>;
743f4a2713aSLionel Sambucdef fno_inline : Flag<["-"], "fno-inline">, Group<f_clang_Group>, Flags<[CC1Option]>;
744f4a2713aSLionel Sambucdef fno_lax_vector_conversions : Flag<["-"], "fno-lax-vector-conversions">, Group<f_Group>,
745f4a2713aSLionel Sambuc  HelpText<"Disallow implicit conversions between vectors with a different number of elements or different element types">, Flags<[CC1Option]>;
746f4a2713aSLionel Sambucdef fno_merge_all_constants : Flag<["-"], "fno-merge-all-constants">, Group<f_Group>,
747f4a2713aSLionel Sambuc    Flags<[CC1Option]>, HelpText<"Disallow merging of constants">;
748f4a2713aSLionel Sambucdef fno_modules : Flag <["-"], "fno-modules">, Group<f_Group>,
749f4a2713aSLionel Sambuc  Flags<[DriverOption]>;
750f4a2713aSLionel Sambucdef fno_module_maps : Flag <["-"], "fno-module-maps">, Group<f_Group>,
751f4a2713aSLionel Sambuc  Flags<[DriverOption]>;
752f4a2713aSLionel Sambucdef fno_modules_decluse : Flag <["-"], "fno-modules-decluse">, Group<f_Group>,
753f4a2713aSLionel Sambuc  Flags<[DriverOption]>;
754*0a6a1f1dSLionel Sambucdef fno_modules_strict_decluse : Flag <["-"], "fno-strict-modules-decluse">, Group<f_Group>,
755*0a6a1f1dSLionel Sambuc  Flags<[DriverOption]>;
756f4a2713aSLionel Sambucdef fno_ms_extensions : Flag<["-"], "fno-ms-extensions">, Group<f_Group>;
757f4a2713aSLionel Sambucdef fno_ms_compatibility : Flag<["-"], "fno-ms-compatibility">, Group<f_Group>;
758f4a2713aSLionel Sambucdef fno_delayed_template_parsing : Flag<["-"], "fno-delayed-template-parsing">, Group<f_Group>;
759f4a2713aSLionel Sambucdef fno_objc_exceptions: Flag<["-"], "fno-objc-exceptions">, Group<f_Group>;
760f4a2713aSLionel Sambucdef fno_objc_legacy_dispatch : Flag<["-"], "fno-objc-legacy-dispatch">, Group<f_Group>;
761f4a2713aSLionel Sambucdef fno_omit_frame_pointer : Flag<["-"], "fno-omit-frame-pointer">, Group<f_Group>;
762f4a2713aSLionel Sambucdef fno_operator_names : Flag<["-"], "fno-operator-names">, Group<f_Group>,
763f4a2713aSLionel Sambuc  HelpText<"Do not treat C++ operator name keywords as synonyms for operators">,
764f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
765f4a2713aSLionel Sambucdef fno_pascal_strings : Flag<["-"], "fno-pascal-strings">, Group<f_Group>;
766f4a2713aSLionel Sambucdef fno_rtti : Flag<["-"], "fno-rtti">, Group<f_Group>, Flags<[CC1Option]>,
767f4a2713aSLionel Sambuc  HelpText<"Disable generation of rtti information">;
768f4a2713aSLionel Sambucdef fno_short_enums : Flag<["-"], "fno-short-enums">, Group<f_Group>;
769f4a2713aSLionel Sambucdef fno_show_column : Flag<["-"], "fno-show-column">, Group<f_Group>, Flags<[CC1Option]>,
770f4a2713aSLionel Sambuc  HelpText<"Do not include column number on diagnostics">;
771f4a2713aSLionel Sambucdef fno_show_source_location : Flag<["-"], "fno-show-source-location">, Group<f_Group>,
772f4a2713aSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Do not include source location information with diagnostics">;
773f4a2713aSLionel Sambucdef fno_spell_checking : Flag<["-"], "fno-spell-checking">, Group<f_Group>,
774f4a2713aSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Disable spell-checking">;
775*0a6a1f1dSLionel Sambucdef fno_stack_protector : Flag<["-"], "fno-stack-protector">, Group<f_Group>,
776*0a6a1f1dSLionel Sambuc  HelpText<"Disable the use of stack protectors">;
777*0a6a1f1dSLionel Sambucdef fno_strict_aliasing : Flag<["-"], "fno-strict-aliasing">, Group<f_Group>,
778*0a6a1f1dSLionel Sambuc  Flags<[DriverOption, CoreOption]>;
779f4a2713aSLionel Sambucdef fstruct_path_tbaa : Flag<["-"], "fstruct-path-tbaa">, Group<f_Group>;
780f4a2713aSLionel Sambucdef fno_struct_path_tbaa : Flag<["-"], "fno-struct-path-tbaa">, Group<f_Group>;
781f4a2713aSLionel Sambucdef fno_strict_enums : Flag<["-"], "fno-strict-enums">, Group<f_Group>;
782f4a2713aSLionel Sambucdef fno_strict_overflow : Flag<["-"], "fno-strict-overflow">, Group<f_Group>;
783f4a2713aSLionel Sambucdef fno_threadsafe_statics : Flag<["-"], "fno-threadsafe-statics">, Group<f_Group>,
784f4a2713aSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Do not emit code to make initialization of local statics thread safe">;
785f4a2713aSLionel Sambucdef fno_use_cxa_atexit : Flag<["-"], "fno-use-cxa-atexit">, Group<f_Group>, Flags<[CC1Option]>,
786f4a2713aSLionel Sambuc  HelpText<"Don't use __cxa_atexit for calling destructors">;
787f4a2713aSLionel Sambucdef fno_use_init_array : Flag<["-"], "fno-use-init-array">, Group<f_Group>, Flags<[CC1Option]>,
788f4a2713aSLionel Sambuc  HelpText<"Don't use .init_array instead of .ctors">;
789f4a2713aSLionel Sambucdef fno_unit_at_a_time : Flag<["-"], "fno-unit-at-a-time">, Group<f_Group>;
790f4a2713aSLionel Sambucdef fno_unwind_tables : Flag<["-"], "fno-unwind-tables">, Group<f_Group>;
791f4a2713aSLionel Sambucdef fno_verbose_asm : Flag<["-"], "fno-verbose-asm">, Group<f_Group>;
792f4a2713aSLionel Sambucdef fno_working_directory : Flag<["-"], "fno-working-directory">, Group<f_Group>;
793f4a2713aSLionel Sambucdef fno_wrapv : Flag<["-"], "fno-wrapv">, Group<f_Group>;
794f4a2713aSLionel Sambucdef fno_zero_initialized_in_bss : Flag<["-"], "fno-zero-initialized-in-bss">, Group<f_Group>;
795f4a2713aSLionel Sambucdef fobjc_arc : Flag<["-"], "fobjc-arc">, Group<f_Group>, Flags<[CC1Option]>,
796f4a2713aSLionel Sambuc  HelpText<"Synthesize retain and release calls for Objective-C pointers">;
797f4a2713aSLionel Sambucdef fno_objc_arc : Flag<["-"], "fno-objc-arc">, Group<f_Group>;
798f4a2713aSLionel Sambucdef fobjc_arc_exceptions : Flag<["-"], "fobjc-arc-exceptions">, Group<f_Group>, Flags<[CC1Option]>,
799f4a2713aSLionel Sambuc  HelpText<"Use EH-safe code when synthesizing retains and releases in -fobjc-arc">;
800f4a2713aSLionel Sambucdef fno_objc_arc_exceptions : Flag<["-"], "fno-objc-arc-exceptions">, Group<f_Group>;
801f4a2713aSLionel Sambucdef fobjc_atdefs : Flag<["-"], "fobjc-atdefs">, Group<clang_ignored_f_Group>;
802f4a2713aSLionel Sambucdef fobjc_call_cxx_cdtors : Flag<["-"], "fobjc-call-cxx-cdtors">, Group<clang_ignored_f_Group>;
803f4a2713aSLionel Sambucdef fobjc_exceptions: Flag<["-"], "fobjc-exceptions">, Group<f_Group>,
804f4a2713aSLionel Sambuc  HelpText<"Enable Objective-C exceptions">, Flags<[CC1Option]>;
805f4a2713aSLionel Sambuc
806f4a2713aSLionel Sambucdef fobjc_gc_only : Flag<["-"], "fobjc-gc-only">, Group<f_Group>, Flags<[CC1Option]>,
807f4a2713aSLionel Sambuc  HelpText<"Use GC exclusively for Objective-C related memory management">;
808f4a2713aSLionel Sambucdef fobjc_gc : Flag<["-"], "fobjc-gc">, Group<f_Group>, Flags<[CC1Option]>,
809f4a2713aSLionel Sambuc  HelpText<"Enable Objective-C garbage collection">;
810f4a2713aSLionel Sambucdef fobjc_legacy_dispatch : Flag<["-"], "fobjc-legacy-dispatch">, Group<f_Group>;
811f4a2713aSLionel Sambucdef fobjc_new_property : Flag<["-"], "fobjc-new-property">, Group<clang_ignored_f_Group>;
812f4a2713aSLionel Sambucdef fobjc_infer_related_result_type : Flag<["-"], "fobjc-infer-related-result-type">,
813f4a2713aSLionel Sambuc                                      Group<f_Group>;
814f4a2713aSLionel Sambucdef fno_objc_infer_related_result_type : Flag<["-"],
815f4a2713aSLionel Sambuc  "fno-objc-infer-related-result-type">, Group<f_Group>,
816f4a2713aSLionel Sambuc  HelpText<
817f4a2713aSLionel Sambuc    "do not infer Objective-C related result type based on method family">,
818f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
819f4a2713aSLionel Sambucdef fobjc_link_runtime: Flag<["-"], "fobjc-link-runtime">, Group<f_Group>;
820f4a2713aSLionel Sambuc
821f4a2713aSLionel Sambuc// Objective-C ABI options.
822f4a2713aSLionel Sambucdef fobjc_runtime_EQ : Joined<["-"], "fobjc-runtime=">, Group<f_Group>, Flags<[CC1Option]>,
823f4a2713aSLionel Sambuc  HelpText<"Specify the target Objective-C runtime kind and version">;
824f4a2713aSLionel Sambucdef fobjc_abi_version_EQ : Joined<["-"], "fobjc-abi-version=">, Group<f_Group>;
825f4a2713aSLionel Sambucdef fobjc_nonfragile_abi_version_EQ : Joined<["-"], "fobjc-nonfragile-abi-version=">, Group<f_Group>;
826f4a2713aSLionel Sambucdef fobjc_nonfragile_abi : Flag<["-"], "fobjc-nonfragile-abi">, Group<f_Group>;
827f4a2713aSLionel Sambucdef fno_objc_nonfragile_abi : Flag<["-"], "fno-objc-nonfragile-abi">, Group<f_Group>;
828f4a2713aSLionel Sambuc
829f4a2713aSLionel Sambucdef fobjc_sender_dependent_dispatch : Flag<["-"], "fobjc-sender-dependent-dispatch">, Group<f_Group>;
830f4a2713aSLionel Sambucdef fomit_frame_pointer : Flag<["-"], "fomit-frame-pointer">, Group<f_Group>;
831*0a6a1f1dSLionel Sambucdef fopenmp : Flag<["-"], "fopenmp">, Group<f_Group>, Flags<[CC1Option, NoArgumentUnused]>;
832*0a6a1f1dSLionel Sambucdef fopenmp_EQ : Joined<["-"], "fopenmp=">, Group<f_Group>, Flags<[CC1Option]>;
833f4a2713aSLionel Sambucdef fno_optimize_sibling_calls : Flag<["-"], "fno-optimize-sibling-calls">, Group<f_Group>;
834f4a2713aSLionel Sambucdef foptimize_sibling_calls : Flag<["-"], "foptimize-sibling-calls">, Group<f_Group>;
835f4a2713aSLionel Sambucdef force__cpusubtype__ALL : Flag<["-"], "force_cpusubtype_ALL">;
836f4a2713aSLionel Sambucdef force__flat__namespace : Flag<["-"], "force_flat_namespace">;
837f4a2713aSLionel Sambucdef force__load : Separate<["-"], "force_load">;
838*0a6a1f1dSLionel Sambucdef force_addr : Joined<["-"], "fforce-addr">, Group<clang_ignored_f_Group>;
839f4a2713aSLionel Sambucdef foutput_class_dir_EQ : Joined<["-"], "foutput-class-dir=">, Group<f_Group>;
840f4a2713aSLionel Sambucdef fpack_struct : Flag<["-"], "fpack-struct">, Group<f_Group>;
841f4a2713aSLionel Sambucdef fno_pack_struct : Flag<["-"], "fno-pack-struct">, Group<f_Group>;
842f4a2713aSLionel Sambucdef fpack_struct_EQ : Joined<["-"], "fpack-struct=">, Group<f_Group>, Flags<[CC1Option]>,
843f4a2713aSLionel Sambuc  HelpText<"Specify the default maximum struct packing alignment">;
844*0a6a1f1dSLionel Sambucdef fmax_type_align_EQ : Joined<["-"], "fmax-type-align=">, Group<f_Group>, Flags<[CC1Option]>,
845*0a6a1f1dSLionel Sambuc  HelpText<"Specify the maximum alignment to enforce on pointers lacking an explicit alignment">;
846*0a6a1f1dSLionel Sambucdef fno_max_type_align : Flag<["-"], "fno-max-type-align">, Group<f_Group>;
847f4a2713aSLionel Sambucdef fpascal_strings : Flag<["-"], "fpascal-strings">, Group<f_Group>, Flags<[CC1Option]>,
848f4a2713aSLionel Sambuc  HelpText<"Recognize and construct Pascal-style string literals">;
849f4a2713aSLionel Sambucdef fpcc_struct_return : Flag<["-"], "fpcc-struct-return">, Group<f_Group>, Flags<[CC1Option]>,
850f4a2713aSLionel Sambuc  HelpText<"Override the default ABI to return all structs on the stack">;
851f4a2713aSLionel Sambucdef fpch_preprocess : Flag<["-"], "fpch-preprocess">, Group<f_Group>;
852f4a2713aSLionel Sambucdef fpic : Flag<["-"], "fpic">, Group<f_Group>;
853f4a2713aSLionel Sambucdef fno_pic : Flag<["-"], "fno-pic">, Group<f_Group>;
854f4a2713aSLionel Sambucdef fpie : Flag<["-"], "fpie">, Group<f_Group>;
855f4a2713aSLionel Sambucdef fno_pie : Flag<["-"], "fno-pie">, Group<f_Group>;
856f4a2713aSLionel Sambucdef fprofile_arcs : Flag<["-"], "fprofile-arcs">, Group<f_Group>;
857*0a6a1f1dSLionel Sambucdef fno_profile_arcs : Flag<["-"], "fno-profile-arcs">, Group<f_Group>;
858f4a2713aSLionel Sambucdef fprofile_generate : Flag<["-"], "fprofile-generate">, Group<f_Group>;
859f4a2713aSLionel Sambucdef framework : Separate<["-"], "framework">, Flags<[LinkerInput]>;
860f4a2713aSLionel Sambucdef frandom_seed_EQ : Joined<["-"], "frandom-seed=">, Group<clang_ignored_f_Group>;
861f4a2713aSLionel Sambucdef freg_struct_return : Flag<["-"], "freg-struct-return">, Group<f_Group>, Flags<[CC1Option]>,
862f4a2713aSLionel Sambuc  HelpText<"Override the default ABI to return small structs in registers">;
863f4a2713aSLionel Sambucdef frtti : Flag<["-"], "frtti">, Group<f_Group>;
864*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fsched-interblock">, Group<clang_ignored_f_Group>;
865f4a2713aSLionel Sambucdef fshort_enums : Flag<["-"], "fshort-enums">, Group<f_Group>, Flags<[CC1Option]>,
866f4a2713aSLionel Sambuc  HelpText<"Allocate to an enum type only as many bytes as it needs for the declared range of possible values">;
867f4a2713aSLionel Sambucdef fshort_wchar : Flag<["-"], "fshort-wchar">, Group<f_Group>, Flags<[CC1Option]>,
868f4a2713aSLionel Sambuc  HelpText<"Force wchar_t to be a short unsigned int">;
869*0a6a1f1dSLionel Sambucdef fno_short_wchar : Flag<["-"], "fno-short-wchar">, Group<f_Group>, Flags<[CC1Option]>,
870*0a6a1f1dSLionel Sambuc  HelpText<"Force wchar_t to be an unsigned int">;
871f4a2713aSLionel Sambucdef fshow_overloads_EQ : Joined<["-"], "fshow-overloads=">, Group<f_Group>, Flags<[CC1Option]>,
872f4a2713aSLionel Sambuc  HelpText<"Which overload candidates to show when overload resolution fails: "
873f4a2713aSLionel Sambuc           "best|all; defaults to all">;
874f4a2713aSLionel Sambucdef fshow_column : Flag<["-"], "fshow-column">, Group<f_Group>, Flags<[CC1Option]>;
875f4a2713aSLionel Sambucdef fshow_source_location : Flag<["-"], "fshow-source-location">, Group<f_Group>;
876f4a2713aSLionel Sambucdef fspell_checking : Flag<["-"], "fspell-checking">, Group<f_Group>;
877*0a6a1f1dSLionel Sambucdef fspell_checking_limit_EQ : Joined<["-"], "fspell-checking-limit=">, Group<f_Group>;
878f4a2713aSLionel Sambucdef fsigned_bitfields : Flag<["-"], "fsigned-bitfields">, Group<f_Group>;
879f4a2713aSLionel Sambucdef fsigned_char : Flag<["-"], "fsigned-char">, Group<f_Group>;
880f4a2713aSLionel Sambucdef fno_signed_char : Flag<["-"], "fno-signed-char">, Flags<[CC1Option]>,
881f4a2713aSLionel Sambuc    Group<clang_ignored_f_Group>, HelpText<"Char is unsigned">;
882f4a2713aSLionel Sambucdef fsplit_stack : Flag<["-"], "fsplit-stack">, Group<f_Group>;
883*0a6a1f1dSLionel Sambucdef fstack_protector_all : Flag<["-"], "fstack-protector-all">, Group<f_Group>,
884*0a6a1f1dSLionel Sambuc  HelpText<"Force the usage of stack protectors for all functions">;
885*0a6a1f1dSLionel Sambucdef fstack_protector_strong : Flag<["-"], "fstack-protector-strong">, Group<f_Group>,
886*0a6a1f1dSLionel Sambuc  HelpText<"Use a strong heuristic to apply stack protectors to functions">;
887*0a6a1f1dSLionel Sambucdef fstack_protector : Flag<["-"], "fstack-protector">, Group<f_Group>,
888*0a6a1f1dSLionel Sambuc  HelpText<"Enable stack protectors for functions potentially vulnerable to stack smashing">;
889*0a6a1f1dSLionel Sambucdef fstandalone_debug : Flag<["-"], "fstandalone-debug">, Group<f_Group>, Flags<[CC1Option]>,
890*0a6a1f1dSLionel Sambuc  HelpText<"Emit full debug info for all types used by the program">;
891*0a6a1f1dSLionel Sambucdef fno_standalone_debug : Flag<["-"], "fno-standalone-debug">, Group<f_Group>, Flags<[CC1Option]>,
892*0a6a1f1dSLionel Sambuc  HelpText<"Limit debug information produced to reduce size of debug binary">;
893*0a6a1f1dSLionel Sambucdef flimit_debug_info : Flag<["-"], "flimit-debug-info">, Alias<fno_standalone_debug>;
894*0a6a1f1dSLionel Sambucdef fno_limit_debug_info : Flag<["-"], "fno-limit-debug-info">, Alias<fstandalone_debug>;
895*0a6a1f1dSLionel Sambucdef fstrict_aliasing : Flag<["-"], "fstrict-aliasing">, Group<f_Group>,
896*0a6a1f1dSLionel Sambuc  Flags<[DriverOption, CoreOption]>;
897f4a2713aSLionel Sambucdef fstrict_enums : Flag<["-"], "fstrict-enums">, Group<f_Group>, Flags<[CC1Option]>,
898f4a2713aSLionel Sambuc  HelpText<"Enable optimizations based on the strict definition of an enum's "
899f4a2713aSLionel Sambuc           "value range">;
900f4a2713aSLionel Sambucdef fstrict_overflow : Flag<["-"], "fstrict-overflow">, Group<f_Group>;
901f4a2713aSLionel Sambucdef fsyntax_only : Flag<["-"], "fsyntax-only">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>;
902f4a2713aSLionel Sambucdef ftabstop_EQ : Joined<["-"], "ftabstop=">, Group<f_Group>;
903f4a2713aSLionel Sambucdef ftemplate_depth_EQ : Joined<["-"], "ftemplate-depth=">, Group<f_Group>;
904f4a2713aSLionel Sambucdef ftemplate_depth_ : Joined<["-"], "ftemplate-depth-">, Group<f_Group>;
905f4a2713aSLionel Sambucdef ftemplate_backtrace_limit_EQ : Joined<["-"], "ftemplate-backtrace-limit=">,
906f4a2713aSLionel Sambuc                                   Group<f_Group>;
907f4a2713aSLionel Sambucdef foperator_arrow_depth_EQ : Joined<["-"], "foperator-arrow-depth=">,
908f4a2713aSLionel Sambuc                               Group<f_Group>;
909f4a2713aSLionel Sambucdef ftest_coverage : Flag<["-"], "ftest-coverage">, Group<f_Group>;
910f4a2713aSLionel Sambucdef fvectorize : Flag<["-"], "fvectorize">, Group<f_Group>,
911f4a2713aSLionel Sambuc  HelpText<"Enable the loop vectorization passes">;
912f4a2713aSLionel Sambucdef fno_vectorize : Flag<["-"], "fno-vectorize">, Group<f_Group>;
913*0a6a1f1dSLionel Sambucdef : Flag<["-"], "ftree-vectorize">, Alias<fvectorize>;
914*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fno-tree-vectorize">, Alias<fno_vectorize>;
915f4a2713aSLionel Sambucdef fslp_vectorize : Flag<["-"], "fslp-vectorize">, Group<f_Group>,
916f4a2713aSLionel Sambuc  HelpText<"Enable the superword-level parallelism vectorization passes">;
917f4a2713aSLionel Sambucdef fno_slp_vectorize : Flag<["-"], "fno-slp-vectorize">, Group<f_Group>;
918f4a2713aSLionel Sambucdef fslp_vectorize_aggressive : Flag<["-"], "fslp-vectorize-aggressive">, Group<f_Group>,
919f4a2713aSLionel Sambuc  HelpText<"Enable the BB vectorization passes">;
920f4a2713aSLionel Sambucdef fno_slp_vectorize_aggressive : Flag<["-"], "fno-slp-vectorize-aggressive">, Group<f_Group>;
921*0a6a1f1dSLionel Sambucdef : Flag<["-"], "ftree-slp-vectorize">, Alias<fslp_vectorize>;
922*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fno-tree-slp-vectorize">, Alias<fno_slp_vectorize>;
923f4a2713aSLionel Sambucdef Wlarge_by_value_copy_def : Flag<["-"], "Wlarge-by-value-copy">,
924f4a2713aSLionel Sambuc  HelpText<"Warn if a function definition returns or accepts an object larger "
925f4a2713aSLionel Sambuc           "in bytes than a given value">, Flags<[HelpHidden]>;
926f4a2713aSLionel Sambucdef Wlarge_by_value_copy_EQ : Joined<["-"], "Wlarge-by-value-copy=">, Flags<[CC1Option]>;
927f4a2713aSLionel Sambuc
928*0a6a1f1dSLionel Sambuc// These "special" warning flags are effectively processed as f_Group flags by the driver:
929*0a6a1f1dSLionel Sambuc// Just silence warnings about -Wlarger-than for now.
930*0a6a1f1dSLionel Sambucdef Wlarger_than_EQ : Joined<["-"], "Wlarger-than=">, Group<clang_ignored_f_Group>;
931*0a6a1f1dSLionel Sambucdef Wlarger_than_ : Joined<["-"], "Wlarger-than-">, Alias<Wlarger_than_EQ>;
932*0a6a1f1dSLionel Sambucdef Wframe_larger_than_EQ : Joined<["-"], "Wframe-larger-than=">, Group<f_Group>, Flags<[DriverOption]>;
933f4a2713aSLionel Sambuc
934*0a6a1f1dSLionel Sambucdef : Flag<["-"], "fterminated-vtables">, Alias<fapple_kext>;
935f4a2713aSLionel Sambucdef fthreadsafe_statics : Flag<["-"], "fthreadsafe-statics">, Group<f_Group>;
936f4a2713aSLionel Sambucdef ftime_report : Flag<["-"], "ftime-report">, Group<f_Group>, Flags<[CC1Option]>;
937f4a2713aSLionel Sambucdef ftlsmodel_EQ : Joined<["-"], "ftls-model=">, Group<f_Group>, Flags<[CC1Option]>;
938f4a2713aSLionel Sambucdef ftrapv : Flag<["-"], "ftrapv">, Group<f_Group>, Flags<[CC1Option]>,
939f4a2713aSLionel Sambuc  HelpText<"Trap on integer overflow">;
940f4a2713aSLionel Sambucdef ftrapv_handler_EQ : Joined<["-"], "ftrapv-handler=">, Group<f_Group>,
941f4a2713aSLionel Sambuc  MetaVarName<"<function name>">,
942f4a2713aSLionel Sambuc  HelpText<"Specify the function to be called on overflow">;
943f4a2713aSLionel Sambucdef ftrapv_handler : Separate<["-"], "ftrapv-handler">, Group<f_Group>, Flags<[CC1Option]>;
944f4a2713aSLionel Sambucdef ftrap_function_EQ : Joined<["-"], "ftrap-function=">, Group<f_Group>, Flags<[CC1Option]>,
945f4a2713aSLionel Sambuc  HelpText<"Issue call to specified function rather than a trap instruction">;
946f4a2713aSLionel Sambucdef funit_at_a_time : Flag<["-"], "funit-at-a-time">, Group<f_Group>;
947f4a2713aSLionel Sambucdef funroll_loops : Flag<["-"], "funroll-loops">, Group<f_Group>,
948f4a2713aSLionel Sambuc  HelpText<"Turn on loop unroller">, Flags<[CC1Option]>;
949f4a2713aSLionel Sambucdef fno_unroll_loops : Flag<["-"], "fno-unroll-loops">, Group<f_Group>,
950f4a2713aSLionel Sambuc  HelpText<"Turn off loop unroller">, Flags<[CC1Option]>;
951f4a2713aSLionel Sambucdef freroll_loops : Flag<["-"], "freroll-loops">, Group<f_Group>,
952f4a2713aSLionel Sambuc  HelpText<"Turn on loop reroller">, Flags<[CC1Option]>;
953f4a2713aSLionel Sambucdef fno_reroll_loops : Flag<["-"], "fno-reroll-loops">, Group<f_Group>,
954f4a2713aSLionel Sambuc  HelpText<"Turn off loop reroller">;
955*0a6a1f1dSLionel Sambucdef ftrigraphs : Flag<["-"], "ftrigraphs">, Group<f_Group>,
956*0a6a1f1dSLionel Sambuc  HelpText<"Process trigraph sequences">, Flags<[CC1Option]>;
957*0a6a1f1dSLionel Sambucdef fno_trigraphs : Flag<["-"], "fno-trigraphs">, Group<f_Group>,
958*0a6a1f1dSLionel Sambuc  HelpText<"Do not process trigraph sequences">, Flags<[CC1Option]>;
959f4a2713aSLionel Sambucdef funsigned_bitfields : Flag<["-"], "funsigned-bitfields">, Group<f_Group>;
960f4a2713aSLionel Sambucdef funsigned_char : Flag<["-"], "funsigned-char">, Group<f_Group>;
961f4a2713aSLionel Sambucdef fno_unsigned_char : Flag<["-"], "fno-unsigned-char">, Group<clang_ignored_f_Group>;
962f4a2713aSLionel Sambucdef funwind_tables : Flag<["-"], "funwind-tables">, Group<f_Group>;
963f4a2713aSLionel Sambucdef fuse_cxa_atexit : Flag<["-"], "fuse-cxa-atexit">, Group<f_Group>;
964f4a2713aSLionel Sambucdef fuse_init_array : Flag<["-"], "fuse-init-array">, Group<f_Group>, Flags<[CC1Option]>,
965f4a2713aSLionel Sambuc  HelpText<"Use .init_array instead of .ctors">;
966*0a6a1f1dSLionel Sambucdef fno_var_tracking : Flag<["-"], "fno-var-tracking">, Group<clang_ignored_f_Group>;
967f4a2713aSLionel Sambucdef fverbose_asm : Flag<["-"], "fverbose-asm">, Group<f_Group>;
968f4a2713aSLionel Sambucdef fvisibility_EQ : Joined<["-"], "fvisibility=">, Group<f_Group>,
969f4a2713aSLionel Sambuc  HelpText<"Set the default symbol visibility for all global declarations">;
970f4a2713aSLionel Sambucdef fvisibility_inlines_hidden : Flag<["-"], "fvisibility-inlines-hidden">, Group<f_Group>,
971f4a2713aSLionel Sambuc  HelpText<"Give inline C++ member functions default visibility by default">,
972f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
973f4a2713aSLionel Sambucdef fvisibility_ms_compat : Flag<["-"], "fvisibility-ms-compat">, Group<f_Group>,
974f4a2713aSLionel Sambuc  HelpText<"Give global types 'default' visibility and global functions and "
975f4a2713aSLionel Sambuc           "variables 'hidden' visibility by default">;
976f4a2713aSLionel Sambucdef fwrapv : Flag<["-"], "fwrapv">, Group<f_Group>, Flags<[CC1Option]>,
977f4a2713aSLionel Sambuc  HelpText<"Treat signed integer overflow as two's complement">;
978f4a2713aSLionel Sambucdef fwritable_strings : Flag<["-"], "fwritable-strings">, Group<f_Group>, Flags<[CC1Option]>,
979f4a2713aSLionel Sambuc  HelpText<"Store string literals as writable data">;
980f4a2713aSLionel Sambucdef fzero_initialized_in_bss : Flag<["-"], "fzero-initialized-in-bss">, Group<f_Group>;
981f4a2713aSLionel Sambucdef ffunction_sections : Flag<["-"], "ffunction-sections">, Group<f_Group>,
982f4a2713aSLionel Sambuc  Flags<[CC1Option]>,
983f4a2713aSLionel Sambuc  HelpText<"Place each function in its own section (ELF Only)">;
984f4a2713aSLionel Sambucdef fno_function_sections : Flag<["-"], "fno-function-sections">,
985f4a2713aSLionel Sambuc  Group<f_Group>, Flags<[CC1Option]>;
986f4a2713aSLionel Sambucdef fdata_sections : Flag <["-"], "fdata-sections">, Group<f_Group>,
987f4a2713aSLionel Sambuc Flags<[CC1Option]>, HelpText<"Place each data in its own section (ELF Only)">;
988f4a2713aSLionel Sambucdef fno_data_sections : Flag <["-"], "fno-data-sections">, Group<f_Group>,
989f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
990f4a2713aSLionel Sambucdef fdebug_types_section: Flag <["-"], "fdebug-types-section">, Group<f_Group>,
991f4a2713aSLionel Sambuc  Flags<[CC1Option]>, HelpText<"Place debug types in their own section (ELF Only)">;
992*0a6a1f1dSLionel Sambucdef fno_debug_types_section: Flag<["-"], "fno-debug-types-section">, Group<f_Group>,
993*0a6a1f1dSLionel Sambuc  Flags<[CC1Option]>;
994f4a2713aSLionel Sambucdef g_Flag : Flag<["-"], "g">, Group<g_Group>,
995*0a6a1f1dSLionel Sambuc  HelpText<"Generate source-level debug information">, Flags<[CC1Option,CC1AsOption]>;
996f4a2713aSLionel Sambucdef gline_tables_only : Flag<["-"], "gline-tables-only">, Group<g_Group>,
997f4a2713aSLionel Sambuc  HelpText<"Emit debug line number tables only">, Flags<[CC1Option]>;
998*0a6a1f1dSLionel Sambucdef gmlt : Flag<["-"], "gmlt">, Alias<gline_tables_only>;
999f4a2713aSLionel Sambucdef g0 : Flag<["-"], "g0">, Group<g_Group>;
1000f4a2713aSLionel Sambucdef g1 : Flag<["-"], "g1">, Group<g_Group>;
1001f4a2713aSLionel Sambucdef g2 : Flag<["-"], "g2">, Group<g_Group>;
1002f4a2713aSLionel Sambucdef g3 : Flag<["-"], "g3">, Group<g_Group>;
1003f4a2713aSLionel Sambucdef ggdb : Flag<["-"], "ggdb">, Group<g_Group>;
1004f4a2713aSLionel Sambucdef ggdb0 : Flag<["-"], "ggdb0">, Group<g_Group>;
1005f4a2713aSLionel Sambucdef ggdb1 : Flag<["-"], "ggdb1">, Group<g_Group>;
1006f4a2713aSLionel Sambucdef ggdb2 : Flag<["-"], "ggdb2">, Group<g_Group>;
1007f4a2713aSLionel Sambucdef ggdb3 : Flag<["-"], "ggdb3">, Group<g_Group>;
1008f4a2713aSLionel Sambucdef gdwarf_2 : Flag<["-"], "gdwarf-2">, Group<g_Group>,
1009*0a6a1f1dSLionel Sambuc  HelpText<"Generate source-level debug information with dwarf version 2">, Flags<[CC1Option,CC1AsOption]>;
1010f4a2713aSLionel Sambucdef gdwarf_3 : Flag<["-"], "gdwarf-3">, Group<g_Group>,
1011*0a6a1f1dSLionel Sambuc  HelpText<"Generate source-level debug information with dwarf version 3">, Flags<[CC1Option,CC1AsOption]>;
1012f4a2713aSLionel Sambucdef gdwarf_4 : Flag<["-"], "gdwarf-4">, Group<g_Group>,
1013*0a6a1f1dSLionel Sambuc  HelpText<"Generate source-level debug information with dwarf version 4">, Flags<[CC1Option,CC1AsOption]>;
1014f4a2713aSLionel Sambucdef gfull : Flag<["-"], "gfull">, Group<g_Group>;
1015f4a2713aSLionel Sambucdef gused : Flag<["-"], "gused">, Group<g_Group>;
1016f4a2713aSLionel Sambucdef gstabs : Joined<["-"], "gstabs">, Group<g_Group>, Flags<[Unsupported]>;
1017f4a2713aSLionel Sambucdef gcoff : Joined<["-"], "gcoff">, Group<g_Group>, Flags<[Unsupported]>;
1018f4a2713aSLionel Sambucdef gxcoff : Joined<["-"], "gxcoff">, Group<g_Group>, Flags<[Unsupported]>;
1019f4a2713aSLionel Sambucdef gvms : Joined<["-"], "gvms">, Group<g_Group>, Flags<[Unsupported]>;
1020f4a2713aSLionel Sambucdef gtoggle : Flag<["-"], "gtoggle">, Group<g_flags_Group>, Flags<[Unsupported]>;
1021f4a2713aSLionel Sambucdef grecord_gcc_switches : Flag<["-"], "grecord-gcc-switches">, Group<g_flags_Group>;
1022f4a2713aSLionel Sambucdef gno_record_gcc_switches : Flag<["-"], "gno-record-gcc-switches">,
1023f4a2713aSLionel Sambuc  Group<g_flags_Group>;
1024f4a2713aSLionel Sambucdef gstrict_dwarf : Flag<["-"], "gstrict-dwarf">, Group<g_flags_Group>;
1025f4a2713aSLionel Sambucdef gno_strict_dwarf : Flag<["-"], "gno-strict-dwarf">, Group<g_flags_Group>;
1026f4a2713aSLionel Sambucdef gcolumn_info : Flag<["-"], "gcolumn-info">, Group<g_flags_Group>;
1027*0a6a1f1dSLionel Sambucdef gno_column_info : Flag<["-"], "gno-column-info">, Group<g_flags_Group>;
1028f4a2713aSLionel Sambucdef gsplit_dwarf : Flag<["-"], "gsplit-dwarf">, Group<g_flags_Group>;
1029f4a2713aSLionel Sambucdef ggnu_pubnames : Flag<["-"], "ggnu-pubnames">, Group<g_flags_Group>;
1030*0a6a1f1dSLionel Sambucdef gdwarf_aranges : Flag<["-"], "gdwarf-aranges">, Group<g_flags_Group>;
1031f4a2713aSLionel Sambucdef headerpad__max__install__names : Joined<["-"], "headerpad_max_install_names">;
1032*0a6a1f1dSLionel Sambucdef help : Flag<["-", "--"], "help">, Flags<[CC1Option,CC1AsOption]>,
1033f4a2713aSLionel Sambuc  HelpText<"Display available options">;
1034f4a2713aSLionel Sambucdef index_header_map : Flag<["-"], "index-header-map">, Flags<[CC1Option]>,
1035f4a2713aSLionel Sambuc  HelpText<"Make the next included directory (-I or -F) an indexer header map">;
1036f4a2713aSLionel Sambucdef idirafter : JoinedOrSeparate<["-"], "idirafter">, Group<clang_i_Group>, Flags<[CC1Option]>,
1037f4a2713aSLionel Sambuc  HelpText<"Add directory to AFTER include search path">;
1038f4a2713aSLionel Sambucdef iframework : JoinedOrSeparate<["-"], "iframework">, Group<clang_i_Group>, Flags<[CC1Option]>,
1039f4a2713aSLionel Sambuc  HelpText<"Add directory to SYSTEM framework search path">;
1040f4a2713aSLionel Sambucdef imacros : JoinedOrSeparate<["-", "--"], "imacros">, Group<clang_i_Group>, Flags<[CC1Option]>,
1041f4a2713aSLionel Sambuc  HelpText<"Include macros from file before parsing">, MetaVarName<"<file>">;
1042f4a2713aSLionel Sambucdef image__base : Separate<["-"], "image_base">;
1043f4a2713aSLionel Sambucdef include_ : JoinedOrSeparate<["-", "--"], "include">, Group<clang_i_Group>, EnumName<"include">,
1044f4a2713aSLionel Sambuc    MetaVarName<"<file>">, HelpText<"Include file before parsing">, Flags<[CC1Option]>;
1045f4a2713aSLionel Sambucdef include_pch : Separate<["-"], "include-pch">, Group<clang_i_Group>, Flags<[CC1Option]>,
1046f4a2713aSLionel Sambuc  HelpText<"Include precompiled header file">, MetaVarName<"<file>">;
1047f4a2713aSLionel Sambucdef relocatable_pch : Flag<["-", "--"], "relocatable-pch">, Flags<[CC1Option]>,
1048f4a2713aSLionel Sambuc  HelpText<"Whether to build a relocatable precompiled header">;
1049*0a6a1f1dSLionel Sambucdef verify_pch : Flag<["-"], "verify-pch">, Group<Action_Group>, Flags<[CC1Option]>,
1050*0a6a1f1dSLionel Sambuc  HelpText<"Load and verify that a pre-compiled header file is not stale">;
1051f4a2713aSLionel Sambucdef init : Separate<["-"], "init">;
1052f4a2713aSLionel Sambucdef install__name : Separate<["-"], "install_name">;
1053f4a2713aSLionel Sambucdef iprefix : JoinedOrSeparate<["-"], "iprefix">, Group<clang_i_Group>, Flags<[CC1Option]>,
1054f4a2713aSLionel Sambuc  HelpText<"Set the -iwithprefix/-iwithprefixbefore prefix">, MetaVarName<"<dir>">;
1055f4a2713aSLionel Sambucdef iquote : JoinedOrSeparate<["-"], "iquote">, Group<clang_i_Group>, Flags<[CC1Option]>,
1056f4a2713aSLionel Sambuc  HelpText<"Add directory to QUOTE include search path">, MetaVarName<"<directory>">;
1057f4a2713aSLionel Sambucdef isysroot : JoinedOrSeparate<["-"], "isysroot">, Group<clang_i_Group>, Flags<[CC1Option]>,
1058f4a2713aSLionel Sambuc  HelpText<"Set the system root directory (usually /)">, MetaVarName<"<dir>">;
1059f4a2713aSLionel Sambucdef isystem : JoinedOrSeparate<["-"], "isystem">, Group<clang_i_Group>, Flags<[CC1Option]>,
1060f4a2713aSLionel Sambuc  HelpText<"Add directory to SYSTEM include search path">, MetaVarName<"<directory>">;
1061f4a2713aSLionel Sambucdef iwithprefixbefore : JoinedOrSeparate<["-"], "iwithprefixbefore">, Group<clang_i_Group>,
1062f4a2713aSLionel Sambuc  HelpText<"Set directory to include search path with prefix">, MetaVarName<"<dir>">,
1063f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
1064f4a2713aSLionel Sambucdef iwithprefix : JoinedOrSeparate<["-"], "iwithprefix">, Group<clang_i_Group>, Flags<[CC1Option]>,
1065f4a2713aSLionel Sambuc  HelpText<"Set directory to SYSTEM include search path with prefix">, MetaVarName<"<dir>">;
1066f4a2713aSLionel Sambucdef iwithsysroot : JoinedOrSeparate<["-"], "iwithsysroot">, Group<clang_i_Group>,
1067f4a2713aSLionel Sambuc  HelpText<"Add directory to SYSTEM include search path, "
1068f4a2713aSLionel Sambuc           "absolute paths are relative to -isysroot">, MetaVarName<"<directory>">,
1069f4a2713aSLionel Sambuc  Flags<[CC1Option]>;
1070*0a6a1f1dSLionel Sambucdef ivfsoverlay : JoinedOrSeparate<["-"], "ivfsoverlay">, Group<clang_i_Group>, Flags<[CC1Option]>,
1071*0a6a1f1dSLionel Sambuc  HelpText<"Overlay the virtual filesystem described by file over the real file system">;
1072f4a2713aSLionel Sambucdef i : Joined<["-"], "i">, Group<i_Group>;
1073f4a2713aSLionel Sambucdef keep__private__externs : Flag<["-"], "keep_private_externs">;
1074f4a2713aSLionel Sambucdef l : JoinedOrSeparate<["-"], "l">, Flags<[LinkerInput, RenderJoined]>;
1075f4a2713aSLionel Sambucdef lazy__framework : Separate<["-"], "lazy_framework">, Flags<[LinkerInput]>;
1076f4a2713aSLionel Sambucdef lazy__library : Separate<["-"], "lazy_library">, Flags<[LinkerInput]>;
1077*0a6a1f1dSLionel Sambucdef mlittle_endian : Flag<["-"], "mlittle-endian">, Flags<[DriverOption]>;
1078*0a6a1f1dSLionel Sambucdef EL : Flag<["-"], "EL">, Alias<mlittle_endian>;
1079*0a6a1f1dSLionel Sambucdef mbig_endian : Flag<["-"], "mbig-endian">, Flags<[DriverOption]>;
1080*0a6a1f1dSLionel Sambucdef EB : Flag<["-"], "EB">, Alias<mbig_endian>;
1081*0a6a1f1dSLionel Sambucdef m16 : Flag<["-"], "m16">, Group<m_Group>, Flags<[DriverOption, CoreOption]>;
1082f4a2713aSLionel Sambucdef m32 : Flag<["-"], "m32">, Group<m_Group>, Flags<[DriverOption, CoreOption]>;
1083f4a2713aSLionel Sambucdef mqdsp6_compat : Flag<["-"], "mqdsp6-compat">, Group<m_Group>, Flags<[DriverOption,CC1Option]>,
1084f4a2713aSLionel Sambuc  HelpText<"Enable hexagon-qdsp6 backward compatibility">;
1085f4a2713aSLionel Sambucdef m3dnowa : Flag<["-"], "m3dnowa">, Group<m_x86_Features_Group>;
1086f4a2713aSLionel Sambucdef m3dnow : Flag<["-"], "m3dnow">, Group<m_x86_Features_Group>;
1087f4a2713aSLionel Sambucdef m64 : Flag<["-"], "m64">, Group<m_Group>, Flags<[DriverOption, CoreOption]>;
1088*0a6a1f1dSLionel Sambucdef mx32 : Flag<["-"], "mx32">, Group<m_Group>, Flags<[DriverOption, CoreOption]>;
1089f4a2713aSLionel Sambucdef mabi_EQ : Joined<["-"], "mabi=">, Group<m_Group>;
1090*0a6a1f1dSLionel Sambucdef malign_functions_EQ : Joined<["-"], "malign-functions=">, Group<clang_ignored_m_Group>;
1091*0a6a1f1dSLionel Sambucdef malign_loops_EQ : Joined<["-"], "malign-loops=">, Group<clang_ignored_m_Group>;
1092*0a6a1f1dSLionel Sambucdef malign_jumps_EQ : Joined<["-"], "malign-jumps=">, Group<clang_ignored_m_Group>;
1093*0a6a1f1dSLionel Sambucdef mfancy_math_387 : Flag<["-"], "mfancy-math-387">, Group<clang_ignored_m_Group>;
1094f4a2713aSLionel Sambucdef march_EQ : Joined<["-"], "march=">, Group<m_Group>;
1095*0a6a1f1dSLionel Sambucdef masm_EQ : Joined<["-"], "masm=">, Group<m_Group>, Flags<[DriverOption]>;
1096f4a2713aSLionel Sambucdef mcmodel_EQ : Joined<["-"], "mcmodel=">, Group<m_Group>;
1097f4a2713aSLionel Sambucdef mconstant_cfstrings : Flag<["-"], "mconstant-cfstrings">, Group<clang_ignored_m_Group>;
1098f4a2713aSLionel Sambucdef mcpu_EQ : Joined<["-"], "mcpu=">, Group<m_Group>;
1099f4a2713aSLionel Sambucdef mdynamic_no_pic : Joined<["-"], "mdynamic-no-pic">, Group<m_Group>;
1100f4a2713aSLionel Sambucdef mfix_and_continue : Flag<["-"], "mfix-and-continue">, Group<clang_ignored_m_Group>;
1101f4a2713aSLionel Sambucdef mieee_fp : Flag<["-"], "mieee-fp">, Group<clang_ignored_m_Group>;
1102f4a2713aSLionel Sambucdef minline_all_stringops : Flag<["-"], "minline-all-stringops">, Group<clang_ignored_m_Group>;
1103f4a2713aSLionel Sambucdef mno_inline_all_stringops : Flag<["-"], "mno-inline-all-stringops">, Group<clang_ignored_m_Group>;
1104f4a2713aSLionel Sambucdef mfloat_abi_EQ : Joined<["-"], "mfloat-abi=">, Group<m_Group>;
1105f4a2713aSLionel Sambucdef mfpmath_EQ : Joined<["-"], "mfpmath=">, Group<m_Group>;
1106f4a2713aSLionel Sambucdef mfpu_EQ : Joined<["-"], "mfpu=">, Group<m_Group>;
1107f4a2713aSLionel Sambucdef mhwdiv_EQ : Joined<["-"], "mhwdiv=">, Group<m_Group>;
1108f4a2713aSLionel Sambucdef mglobal_merge : Flag<["-"], "mglobal-merge">, Group<m_Group>;
1109f4a2713aSLionel Sambucdef mhard_float : Flag<["-"], "mhard-float">, Group<m_Group>;
1110f4a2713aSLionel Sambucdef miphoneos_version_min_EQ : Joined<["-"], "miphoneos-version-min=">, Group<m_Group>;
1111*0a6a1f1dSLionel Sambucdef mios_version_min_EQ : Joined<["-"], "mios-version-min=">,
1112*0a6a1f1dSLionel Sambuc  Alias<miphoneos_version_min_EQ>, HelpText<"Set iOS deployment target">;
1113*0a6a1f1dSLionel Sambucdef mios_simulator_version_min_EQ : Joined<["-"], "mios-simulator-version-min=">, Alias<miphoneos_version_min_EQ>;
1114f4a2713aSLionel Sambucdef mkernel : Flag<["-"], "mkernel">, Group<m_Group>;
1115f4a2713aSLionel Sambucdef mlinker_version_EQ : Joined<["-"], "mlinker-version=">,
1116f4a2713aSLionel Sambuc  Flags<[DriverOption]>;
1117*0a6a1f1dSLionel Sambucdef mllvm : Separate<["-"], "mllvm">, Flags<[CC1Option,CC1AsOption,CoreOption]>,
1118f4a2713aSLionel Sambuc  HelpText<"Additional arguments to forward to LLVM's option processing">;
1119*0a6a1f1dSLionel Sambucdef mmacosx_version_min_EQ : Joined<["-"], "mmacosx-version-min=">,
1120*0a6a1f1dSLionel Sambuc  Group<m_Group>, HelpText<"Set Mac OS X deployment target">;
1121f4a2713aSLionel Sambucdef mms_bitfields : Flag<["-"], "mms-bitfields">, Group<m_Group>, Flags<[CC1Option]>,
1122f4a2713aSLionel Sambuc  HelpText<"Set the default structure layout to be compatible with the Microsoft compiler standard">;
1123f4a2713aSLionel Sambucdef mstackrealign : Flag<["-"], "mstackrealign">, Group<m_Group>, Flags<[CC1Option]>,
1124f4a2713aSLionel Sambuc  HelpText<"Force realign the stack at entry to every function">;
1125f4a2713aSLionel Sambucdef mstack_alignment : Joined<["-"], "mstack-alignment=">, Group<m_Group>, Flags<[CC1Option]>,
1126f4a2713aSLionel Sambuc  HelpText<"Set the stack alignment">;
1127*0a6a1f1dSLionel Sambucdef mthread_model : Separate<["-"], "mthread-model">, Group<m_Group>, Flags<[CC1Option]>,
1128*0a6a1f1dSLionel Sambuc  HelpText<"The thread model to use, e.g. posix, single (posix by default)">;
1129*0a6a1f1dSLionel Sambuc
1130f4a2713aSLionel Sambucdef mmmx : Flag<["-"], "mmmx">, Group<m_x86_Features_Group>;
1131f4a2713aSLionel Sambucdef mno_3dnowa : Flag<["-"], "mno-3dnowa">, Group<m_x86_Features_Group>;
1132f4a2713aSLionel Sambucdef mno_3dnow : Flag<["-"], "mno-3dnow">, Group<m_x86_Features_Group>;
1133f4a2713aSLionel Sambucdef mno_constant_cfstrings : Flag<["-"], "mno-constant-cfstrings">, Group<m_Group>;
1134f4a2713aSLionel Sambucdef mno_global_merge : Flag<["-"], "mno-global-merge">, Group<m_Group>, Flags<[CC1Option]>,
1135f4a2713aSLionel Sambuc  HelpText<"Disable merging of globals">;
1136f4a2713aSLionel Sambucdef mno_mmx : Flag<["-"], "mno-mmx">, Group<m_x86_Features_Group>;
1137f4a2713aSLionel Sambucdef mno_pascal_strings : Flag<["-"], "mno-pascal-strings">,
1138f4a2713aSLionel Sambuc  Alias<fno_pascal_strings>;
1139f4a2713aSLionel Sambucdef mno_red_zone : Flag<["-"], "mno-red-zone">, Group<m_Group>;
1140f4a2713aSLionel Sambucdef mno_relax_all : Flag<["-"], "mno-relax-all">, Group<m_Group>;
1141f4a2713aSLionel Sambucdef mno_rtd: Flag<["-"], "mno-rtd">, Group<m_Group>;
1142f4a2713aSLionel Sambucdef mno_soft_float : Flag<["-"], "mno-soft-float">, Group<m_Group>;
1143f4a2713aSLionel Sambucdef mno_stackrealign : Flag<["-"], "mno-stackrealign">, Group<m_Group>;
1144f4a2713aSLionel Sambucdef mno_sse2 : Flag<["-"], "mno-sse2">, Group<m_x86_Features_Group>;
1145f4a2713aSLionel Sambucdef mno_sse3 : Flag<["-"], "mno-sse3">, Group<m_x86_Features_Group>;
1146f4a2713aSLionel Sambucdef mno_sse4a : Flag<["-"], "mno-sse4a">, Group<m_x86_Features_Group>;
1147f4a2713aSLionel Sambucdef mno_sse4 : Flag<["-"], "mno-sse4">, Group<m_x86_Features_Group>;
1148f4a2713aSLionel Sambucdef mno_sse4_1 : Flag<["-"], "mno-sse4.1">, Group<m_x86_Features_Group>;
1149f4a2713aSLionel Sambucdef mno_sse4_2 : Flag<["-"], "mno-sse4.2">, Group<m_x86_Features_Group>;
1150f4a2713aSLionel Sambucdef mno_sse : Flag<["-"], "mno-sse">, Group<m_x86_Features_Group>;
1151f4a2713aSLionel Sambucdef mno_ssse3 : Flag<["-"], "mno-ssse3">, Group<m_x86_Features_Group>;
1152f4a2713aSLionel Sambucdef mno_aes : Flag<["-"], "mno-aes">, Group<m_x86_Features_Group>;
1153f4a2713aSLionel Sambucdef mno_avx : Flag<["-"], "mno-avx">, Group<m_x86_Features_Group>;
1154f4a2713aSLionel Sambucdef mno_avx2 : Flag<["-"], "mno-avx2">, Group<m_x86_Features_Group>;
1155f4a2713aSLionel Sambucdef mno_avx512f : Flag<["-"], "mno-avx512f">, Group<m_x86_Features_Group>;
1156f4a2713aSLionel Sambucdef mno_avx512cd : Flag<["-"], "mno-avx512cd">, Group<m_x86_Features_Group>;
1157f4a2713aSLionel Sambucdef mno_avx512er : Flag<["-"], "mno-avx512er">, Group<m_x86_Features_Group>;
1158f4a2713aSLionel Sambucdef mno_avx512pf : Flag<["-"], "mno-avx512pf">, Group<m_x86_Features_Group>;
1159*0a6a1f1dSLionel Sambucdef mno_avx512dq : Flag<["-"], "mno-avx512dq">, Group<m_x86_Features_Group>;
1160*0a6a1f1dSLionel Sambucdef mno_avx512bw : Flag<["-"], "mno-avx512bw">, Group<m_x86_Features_Group>;
1161*0a6a1f1dSLionel Sambucdef mno_avx512vl : Flag<["-"], "mno-avx512vl">, Group<m_x86_Features_Group>;
1162f4a2713aSLionel Sambucdef mno_pclmul : Flag<["-"], "mno-pclmul">, Group<m_x86_Features_Group>;
1163f4a2713aSLionel Sambucdef mno_lzcnt : Flag<["-"], "mno-lzcnt">, Group<m_x86_Features_Group>;
1164f4a2713aSLionel Sambucdef mno_rdrnd : Flag<["-"], "mno-rdrnd">, Group<m_x86_Features_Group>;
1165*0a6a1f1dSLionel Sambucdef mno_fsgsbase : Flag<["-"], "mno-fsgsbase">, Group<m_x86_Features_Group>;
1166f4a2713aSLionel Sambucdef mno_bmi : Flag<["-"], "mno-bmi">, Group<m_x86_Features_Group>;
1167f4a2713aSLionel Sambucdef mno_bmi2 : Flag<["-"], "mno-bmi2">, Group<m_x86_Features_Group>;
1168f4a2713aSLionel Sambucdef mno_popcnt : Flag<["-"], "mno-popcnt">, Group<m_x86_Features_Group>;
1169f4a2713aSLionel Sambucdef mno_tbm : Flag<["-"], "mno-tbm">, Group<m_x86_Features_Group>;
1170f4a2713aSLionel Sambucdef mno_fma4 : Flag<["-"], "mno-fma4">, Group<m_x86_Features_Group>;
1171f4a2713aSLionel Sambucdef mno_fma : Flag<["-"], "mno-fma">, Group<m_x86_Features_Group>;
1172f4a2713aSLionel Sambucdef mno_xop : Flag<["-"], "mno-xop">, Group<m_x86_Features_Group>;
1173f4a2713aSLionel Sambucdef mno_f16c : Flag<["-"], "mno-f16c">, Group<m_x86_Features_Group>;
1174f4a2713aSLionel Sambucdef mno_rtm : Flag<["-"], "mno-rtm">, Group<m_x86_Features_Group>;
1175f4a2713aSLionel Sambucdef mno_prfchw : Flag<["-"], "mno-prfchw">, Group<m_x86_Features_Group>;
1176f4a2713aSLionel Sambucdef mno_rdseed : Flag<["-"], "mno-rdseed">, Group<m_x86_Features_Group>;
1177*0a6a1f1dSLionel Sambucdef mno_adx : Flag<["-"], "mno-adx">, Group<m_x86_Features_Group>;
1178f4a2713aSLionel Sambucdef mno_sha : Flag<["-"], "mno-sha">, Group<m_x86_Features_Group>;
1179f4a2713aSLionel Sambuc
1180f4a2713aSLionel Sambucdef munaligned_access : Flag<["-"], "munaligned-access">, Group<m_arm_Features_Group>,
1181*0a6a1f1dSLionel Sambuc  HelpText<"Allow memory accesses to be unaligned (AArch32/AArch64 only)">;
1182f4a2713aSLionel Sambucdef mno_unaligned_access : Flag<["-"], "mno-unaligned-access">, Group<m_arm_Features_Group>,
1183*0a6a1f1dSLionel Sambuc  HelpText<"Force all memory accesses to be aligned (AArch32/AArch64 only)">;
1184f4a2713aSLionel Sambucdef mstrict_align : Flag<["-"], "mstrict-align">, Alias<mno_unaligned_access>, Flags<[CC1Option,HelpHidden]>,
1185*0a6a1f1dSLionel Sambuc  HelpText<"Force all memory accesses to be aligned (same as mno-unaligned-access)">;
1186f4a2713aSLionel Sambucdef mno_thumb : Flag<["-"], "mno-thumb">, Group<m_arm_Features_Group>;
1187f4a2713aSLionel Sambucdef mrestrict_it: Flag<["-"], "mrestrict-it">, Group<m_arm_Features_Group>,
1188f4a2713aSLionel Sambuc  HelpText<"Disallow generation of deprecated IT blocks for ARMv8. It is on by default for ARMv8 Thumb mode.">;
1189f4a2713aSLionel Sambucdef mno_restrict_it: Flag<["-"], "mno-restrict-it">, Group<m_arm_Features_Group>,
1190f4a2713aSLionel Sambuc  HelpText<"Allow generation of deprecated IT blocks for ARMv8. It is off by default for ARMv8 Thumb mode">;
1191f4a2713aSLionel Sambucdef marm : Flag<["-"], "marm">, Alias<mno_thumb>;
1192f4a2713aSLionel Sambucdef ffixed_r9 : Flag<["-"], "ffixed-r9">, Group<m_arm_Features_Group>,
1193f4a2713aSLionel Sambuc  HelpText<"Reserve the r9 register (ARM only)">;
1194f4a2713aSLionel Sambucdef mcrc : Flag<["-"], "mcrc">, Group<m_arm_Features_Group>,
1195f4a2713aSLionel Sambuc  HelpText<"Allow use of CRC instructions (ARM only)">;
1196f4a2713aSLionel Sambucdef mnocrc : Flag<["-"], "mnocrc">, Group<m_arm_Features_Group>,
1197f4a2713aSLionel Sambuc  HelpText<"Disallow use of CRC instructions (ARM only)">;
1198*0a6a1f1dSLionel Sambucdef mlong_calls : Flag<["-"], "mlong-calls">, Group<m_arm_Features_Group>,
1199*0a6a1f1dSLionel Sambuc  HelpText<"Generate an indirect jump to enable jumps further than 64M">;
1200*0a6a1f1dSLionel Sambucdef mno_long_calls : Flag<["-"], "mno-long-calls">, Group<m_arm_Features_Group>,
1201*0a6a1f1dSLionel Sambuc  HelpText<"Restore the default behaviour of not generating long calls">;
1202*0a6a1f1dSLionel Sambuc
1203*0a6a1f1dSLionel Sambucdef mgeneral_regs_only : Flag<["-"], "mgeneral-regs-only">, Group<m_aarch64_Features_Group>,
1204*0a6a1f1dSLionel Sambuc  HelpText<"Generate code which only uses the general purpose registers (AArch64 only)">;
1205*0a6a1f1dSLionel Sambuc
1206*0a6a1f1dSLionel Sambucdef mfix_cortex_a53_835769 : Flag<["-"], "mfix-cortex-a53-835769">,
1207*0a6a1f1dSLionel Sambuc  Group<m_aarch64_Features_Group>,
1208*0a6a1f1dSLionel Sambuc  HelpText<"Workaround Cortex-A53 erratum 835769 (AArch64 only)">;
1209*0a6a1f1dSLionel Sambucdef mno_fix_cortex_a53_835769 : Flag<["-"], "mno-fix-cortex-a53-835769">,
1210*0a6a1f1dSLionel Sambuc  Group<m_aarch64_Features_Group>,
1211*0a6a1f1dSLionel Sambuc  HelpText<"Don't workaround Cortex-A53 erratum 835769 (AArch64 only)">;
1212*0a6a1f1dSLionel Sambucdef ffixed_x18 : Flag<["-"], "ffixed-x18">, Group<m_aarch64_Features_Group>,
1213*0a6a1f1dSLionel Sambuc  HelpText<"Reserve the x18 register (AArch64 only)">;
1214f4a2713aSLionel Sambuc
1215f4a2713aSLionel Sambucdef mvsx : Flag<["-"], "mvsx">, Group<m_ppc_Features_Group>;
1216f4a2713aSLionel Sambucdef mno_vsx : Flag<["-"], "mno-vsx">, Group<m_ppc_Features_Group>;
1217*0a6a1f1dSLionel Sambucdef mpower8_vector : Flag<["-"], "mpower8-vector">,
1218*0a6a1f1dSLionel Sambuc    Group<m_ppc_Features_Group>;
1219*0a6a1f1dSLionel Sambucdef mno_power8_vector : Flag<["-"], "mno-power8-vector">,
1220*0a6a1f1dSLionel Sambuc    Group<m_ppc_Features_Group>;
1221f4a2713aSLionel Sambucdef mfprnd : Flag<["-"], "mfprnd">, Group<m_ppc_Features_Group>;
1222f4a2713aSLionel Sambucdef mno_fprnd : Flag<["-"], "mno-fprnd">, Group<m_ppc_Features_Group>;
1223*0a6a1f1dSLionel Sambucdef mcmpb : Flag<["-"], "mcmpb">, Group<m_ppc_Features_Group>;
1224*0a6a1f1dSLionel Sambucdef mno_cmpb : Flag<["-"], "mno-cmpb">, Group<m_ppc_Features_Group>;
1225f4a2713aSLionel Sambucdef mmfcrf : Flag<["-"], "mmfcrf">, Group<m_ppc_Features_Group>;
1226f4a2713aSLionel Sambucdef mno_mfcrf : Flag<["-"], "mno-mfcrf">, Group<m_ppc_Features_Group>;
1227f4a2713aSLionel Sambucdef mpopcntd : Flag<["-"], "mpopcntd">, Group<m_ppc_Features_Group>;
1228f4a2713aSLionel Sambucdef mno_popcntd : Flag<["-"], "mno-popcntd">, Group<m_ppc_Features_Group>;
1229f4a2713aSLionel Sambucdef mqpx : Flag<["-"], "mqpx">, Group<m_ppc_Features_Group>;
1230f4a2713aSLionel Sambucdef mno_qpx : Flag<["-"], "mno-qpx">, Group<m_ppc_Features_Group>;
1231*0a6a1f1dSLionel Sambucdef mcrbits : Flag<["-"], "mcrbits">, Group<m_ppc_Features_Group>;
1232*0a6a1f1dSLionel Sambucdef mno_crbits : Flag<["-"], "mno-crbits">, Group<m_ppc_Features_Group>;
1233f4a2713aSLionel Sambuc
1234f4a2713aSLionel Sambucdef faltivec : Flag<["-"], "faltivec">, Group<f_Group>, Flags<[CC1Option]>,
1235f4a2713aSLionel Sambuc  HelpText<"Enable AltiVec vector initializer syntax">;
1236f4a2713aSLionel Sambucdef fno_altivec : Flag<["-"], "fno-altivec">, Group<f_Group>, Flags<[CC1Option]>;
1237f4a2713aSLionel Sambucdef maltivec : Flag<["-"], "maltivec">, Alias<faltivec>;
1238f4a2713aSLionel Sambucdef mno_altivec : Flag<["-"], "mno-altivec">, Alias<fno_altivec>;
1239f4a2713aSLionel Sambuc
1240f4a2713aSLionel Sambucdef mno_warn_nonportable_cfstrings : Flag<["-"], "mno-warn-nonportable-cfstrings">, Group<m_Group>;
1241f4a2713aSLionel Sambucdef mno_omit_leaf_frame_pointer : Flag<["-"], "mno-omit-leaf-frame-pointer">, Group<m_Group>;
1242f4a2713aSLionel Sambucdef momit_leaf_frame_pointer : Flag<["-"], "momit-leaf-frame-pointer">, Group<m_Group>,
1243f4a2713aSLionel Sambuc  HelpText<"Omit frame pointer setup for leaf functions">, Flags<[CC1Option]>;
1244f4a2713aSLionel Sambucdef moslib_EQ : Joined<["-"], "moslib=">, Group<m_Group>;
1245f4a2713aSLionel Sambucdef mpascal_strings : Flag<["-"], "mpascal-strings">, Alias<fpascal_strings>;
1246f4a2713aSLionel Sambucdef mred_zone : Flag<["-"], "mred-zone">, Group<m_Group>;
1247f4a2713aSLionel Sambucdef mregparm_EQ : Joined<["-"], "mregparm=">, Group<m_Group>;
1248*0a6a1f1dSLionel Sambucdef mrelax_all : Flag<["-"], "mrelax-all">, Group<m_Group>, Flags<[CC1Option,CC1AsOption]>,
1249f4a2713aSLionel Sambuc  HelpText<"(integrated-as) Relax all machine instructions">;
1250f4a2713aSLionel Sambucdef mrtd : Flag<["-"], "mrtd">, Group<m_Group>, Flags<[CC1Option]>,
1251f4a2713aSLionel Sambuc  HelpText<"Make StdCall calling convention the default">;
1252f4a2713aSLionel Sambucdef msmall_data_threshold_EQ : Joined <["-"], "msmall-data-threshold=">, Group<m_Group>;
1253f4a2713aSLionel Sambucdef msoft_float : Flag<["-"], "msoft-float">, Group<m_Group>, Flags<[CC1Option]>,
1254f4a2713aSLionel Sambuc  HelpText<"Use software floating point">;
1255f4a2713aSLionel Sambucdef mno_implicit_float : Flag<["-"], "mno-implicit-float">, Group<m_Group>,
1256f4a2713aSLionel Sambuc  HelpText<"Don't generate implicit floating point instructions">;
1257f4a2713aSLionel Sambucdef mimplicit_float : Flag<["-"], "mimplicit-float">, Group<m_Group>;
1258f4a2713aSLionel Sambucdef msse2 : Flag<["-"], "msse2">, Group<m_x86_Features_Group>;
1259f4a2713aSLionel Sambucdef msse3 : Flag<["-"], "msse3">, Group<m_x86_Features_Group>;
1260f4a2713aSLionel Sambucdef msse4a : Flag<["-"], "msse4a">, Group<m_x86_Features_Group>;
1261f4a2713aSLionel Sambucdef msse4 : Flag<["-"], "msse4">, Group<m_x86_Features_Group>;
1262f4a2713aSLionel Sambucdef msse4_1 : Flag<["-"], "msse4.1">, Group<m_x86_Features_Group>;
1263f4a2713aSLionel Sambucdef msse4_2 : Flag<["-"], "msse4.2">, Group<m_x86_Features_Group>;
1264f4a2713aSLionel Sambucdef msse : Flag<["-"], "msse">, Group<m_x86_Features_Group>;
1265f4a2713aSLionel Sambucdef mssse3 : Flag<["-"], "mssse3">, Group<m_x86_Features_Group>;
1266f4a2713aSLionel Sambucdef maes : Flag<["-"], "maes">, Group<m_x86_Features_Group>;
1267f4a2713aSLionel Sambucdef mavx : Flag<["-"], "mavx">, Group<m_x86_Features_Group>;
1268f4a2713aSLionel Sambucdef mavx2 : Flag<["-"], "mavx2">, Group<m_x86_Features_Group>;
1269f4a2713aSLionel Sambucdef mavx512f : Flag<["-"], "mavx512f">, Group<m_x86_Features_Group>;
1270f4a2713aSLionel Sambucdef mavx512cd : Flag<["-"], "mavx512cd">, Group<m_x86_Features_Group>;
1271f4a2713aSLionel Sambucdef mavx512er : Flag<["-"], "mavx512er">, Group<m_x86_Features_Group>;
1272f4a2713aSLionel Sambucdef mavx512pf : Flag<["-"], "mavx512pf">, Group<m_x86_Features_Group>;
1273*0a6a1f1dSLionel Sambucdef mavx512dq : Flag<["-"], "mavx512dq">, Group<m_x86_Features_Group>;
1274*0a6a1f1dSLionel Sambucdef mavx512bw : Flag<["-"], "mavx512bw">, Group<m_x86_Features_Group>;
1275*0a6a1f1dSLionel Sambucdef mavx512vl : Flag<["-"], "mavx512vl">, Group<m_x86_Features_Group>;
1276f4a2713aSLionel Sambucdef mpclmul : Flag<["-"], "mpclmul">, Group<m_x86_Features_Group>;
1277f4a2713aSLionel Sambucdef mlzcnt : Flag<["-"], "mlzcnt">, Group<m_x86_Features_Group>;
1278f4a2713aSLionel Sambucdef mrdrnd : Flag<["-"], "mrdrnd">, Group<m_x86_Features_Group>;
1279*0a6a1f1dSLionel Sambucdef mfsgsbase : Flag<["-"], "mfsgsbase">, Group<m_x86_Features_Group>;
1280f4a2713aSLionel Sambucdef mbmi : Flag<["-"], "mbmi">, Group<m_x86_Features_Group>;
1281f4a2713aSLionel Sambucdef mbmi2 : Flag<["-"], "mbmi2">, Group<m_x86_Features_Group>;
1282f4a2713aSLionel Sambucdef mpopcnt : Flag<["-"], "mpopcnt">, Group<m_x86_Features_Group>;
1283f4a2713aSLionel Sambucdef mtbm : Flag<["-"], "mtbm">, Group<m_x86_Features_Group>;
1284f4a2713aSLionel Sambucdef mfma4 : Flag<["-"], "mfma4">, Group<m_x86_Features_Group>;
1285f4a2713aSLionel Sambucdef mfma : Flag<["-"], "mfma">, Group<m_x86_Features_Group>;
1286f4a2713aSLionel Sambucdef mxop : Flag<["-"], "mxop">, Group<m_x86_Features_Group>;
1287f4a2713aSLionel Sambucdef mf16c : Flag<["-"], "mf16c">, Group<m_x86_Features_Group>;
1288f4a2713aSLionel Sambucdef mrtm : Flag<["-"], "mrtm">, Group<m_x86_Features_Group>;
1289f4a2713aSLionel Sambucdef mprfchw : Flag<["-"], "mprfchw">, Group<m_x86_Features_Group>;
1290f4a2713aSLionel Sambucdef mrdseed : Flag<["-"], "mrdseed">, Group<m_x86_Features_Group>;
1291*0a6a1f1dSLionel Sambucdef madx : Flag<["-"], "madx">, Group<m_x86_Features_Group>;
1292f4a2713aSLionel Sambucdef msha : Flag<["-"], "msha">, Group<m_x86_Features_Group>;
1293f4a2713aSLionel Sambucdef mcx16 : Flag<["-"], "mcx16">, Group<m_x86_Features_Group>;
1294f4a2713aSLionel Sambucdef mips16 : Flag<["-"], "mips16">, Group<m_Group>;
1295f4a2713aSLionel Sambucdef mno_mips16 : Flag<["-"], "mno-mips16">, Group<m_Group>;
1296f4a2713aSLionel Sambucdef mmicromips : Flag<["-"], "mmicromips">, Group<m_Group>;
1297f4a2713aSLionel Sambucdef mno_micromips : Flag<["-"], "mno-micromips">, Group<m_Group>;
1298f4a2713aSLionel Sambucdef mxgot : Flag<["-"], "mxgot">, Group<m_Group>;
1299f4a2713aSLionel Sambucdef mno_xgot : Flag<["-"], "mno-xgot">, Group<m_Group>;
1300f4a2713aSLionel Sambucdef mldc1_sdc1 : Flag<["-"], "mldc1-sdc1">, Group<m_Group>;
1301f4a2713aSLionel Sambucdef mno_ldc1_sdc1 : Flag<["-"], "mno-ldc1-sdc1">, Group<m_Group>;
1302f4a2713aSLionel Sambucdef mcheck_zero_division : Flag<["-"], "mcheck-zero-division">, Group<m_Group>;
1303f4a2713aSLionel Sambucdef mno_check_zero_division : Flag<["-"], "mno-check-zero-division">,
1304f4a2713aSLionel Sambuc                              Group<m_Group>;
1305f4a2713aSLionel Sambucdef mdsp : Flag<["-"], "mdsp">, Group<m_Group>;
1306f4a2713aSLionel Sambucdef mno_dsp : Flag<["-"], "mno-dsp">, Group<m_Group>;
1307f4a2713aSLionel Sambucdef mdspr2 : Flag<["-"], "mdspr2">, Group<m_Group>;
1308f4a2713aSLionel Sambucdef mno_dspr2 : Flag<["-"], "mno-dspr2">, Group<m_Group>;
1309f4a2713aSLionel Sambucdef msingle_float : Flag<["-"], "msingle-float">, Group<m_Group>;
1310f4a2713aSLionel Sambucdef mdouble_float : Flag<["-"], "mdouble-float">, Group<m_Group>;
1311f4a2713aSLionel Sambucdef mmsa : Flag<["-"], "mmsa">, Group<m_Group>,
1312f4a2713aSLionel Sambuc  HelpText<"Enable MSA ASE (MIPS only)">;
1313f4a2713aSLionel Sambucdef mno_msa : Flag<["-"], "mno-msa">, Group<m_Group>,
1314f4a2713aSLionel Sambuc  HelpText<"Disable MSA ASE (MIPS only)">;
1315f4a2713aSLionel Sambucdef mfp64 : Flag<["-"], "mfp64">, Group<m_Group>,
1316f4a2713aSLionel Sambuc  HelpText<"Use 64-bit floating point registers (MIPS only)">;
1317f4a2713aSLionel Sambucdef mfp32 : Flag<["-"], "mfp32">, Group<m_Group>,
1318f4a2713aSLionel Sambuc  HelpText<"Use 32-bit floating point registers (MIPS only)">;
1319f4a2713aSLionel Sambucdef mnan_EQ : Joined<["-"], "mnan=">, Group<m_Group>;
1320*0a6a1f1dSLionel Sambucdef mabicalls : Flag<["-"], "mabicalls">, Group<m_Group>,
1321*0a6a1f1dSLionel Sambuc  HelpText<"Enable SVR4-style position-independent code (Mips only)">;
1322*0a6a1f1dSLionel Sambucdef mno_abicalls : Flag<["-"], "mno-abicalls">, Group<m_Group>,
1323*0a6a1f1dSLionel Sambuc  HelpText<"Disable SVR4-style position-independent code (Mips only)">;
1324*0a6a1f1dSLionel Sambucdef mips1 : Flag<["-"], "mips1">,
1325*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips1"]>,
1326*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips1">, Flags<[HelpHidden]>;
1327*0a6a1f1dSLionel Sambucdef mips2 : Flag<["-"], "mips2">,
1328*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips2"]>,
1329*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips2">, Flags<[HelpHidden]>;
1330*0a6a1f1dSLionel Sambucdef mips3 : Flag<["-"], "mips3">,
1331*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips3"]>,
1332*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips3">, Flags<[HelpHidden]>;
1333*0a6a1f1dSLionel Sambucdef mips4 : Flag<["-"], "mips4">,
1334*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips4"]>,
1335*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips4">, Flags<[HelpHidden]>;
1336*0a6a1f1dSLionel Sambucdef mips5 : Flag<["-"], "mips5">,
1337*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips5"]>,
1338*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips5">, Flags<[HelpHidden]>;
1339f4a2713aSLionel Sambucdef mips32 : Flag<["-"], "mips32">,
1340f4a2713aSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips32"]>,
1341f4a2713aSLionel Sambuc  HelpText<"Equivalent to -march=mips32">, Flags<[HelpHidden]>;
1342f4a2713aSLionel Sambucdef mips32r2 : Flag<["-"], "mips32r2">,
1343f4a2713aSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips32r2"]>,
1344f4a2713aSLionel Sambuc  HelpText<"Equivalent to -march=mips32r2">, Flags<[HelpHidden]>;
1345*0a6a1f1dSLionel Sambucdef mips32r6 : Flag<["-"], "mips32r6">,
1346*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips32r6"]>,
1347*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips32r6">, Flags<[HelpHidden]>;
1348f4a2713aSLionel Sambucdef mips64 : Flag<["-"], "mips64">,
1349f4a2713aSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips64"]>,
1350f4a2713aSLionel Sambuc  HelpText<"Equivalent to -march=mips64">, Flags<[HelpHidden]>;
1351f4a2713aSLionel Sambucdef mips64r2 : Flag<["-"], "mips64r2">,
1352f4a2713aSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips64r2"]>,
1353f4a2713aSLionel Sambuc  HelpText<"Equivalent to -march=mips64r2">, Flags<[HelpHidden]>;
1354*0a6a1f1dSLionel Sambucdef mips64r6 : Flag<["-"], "mips64r6">,
1355*0a6a1f1dSLionel Sambuc  Alias<march_EQ>, AliasArgs<["mips64r6"]>,
1356*0a6a1f1dSLionel Sambuc  HelpText<"Equivalent to -march=mips64r6">, Flags<[HelpHidden]>;
1357*0a6a1f1dSLionel Sambucdef mfpxx : Flag<["-"], "mfpxx">, Group<m_Group>,
1358*0a6a1f1dSLionel Sambuc  HelpText<"Avoid FPU mode dependent operations when used with the O32 ABI">,
1359*0a6a1f1dSLionel Sambuc  Flags<[HelpHidden]>;
1360*0a6a1f1dSLionel Sambucdef modd_spreg : Flag<["-"], "modd-spreg">, Group<m_Group>,
1361*0a6a1f1dSLionel Sambuc  HelpText<"Enable odd single-precision floating point registers">,
1362*0a6a1f1dSLionel Sambuc  Flags<[HelpHidden]>;
1363*0a6a1f1dSLionel Sambucdef mno_odd_spreg : Flag<["-"], "mno-odd-spreg">, Group<m_Group>,
1364*0a6a1f1dSLionel Sambuc  HelpText<"Disable odd single-precision floating point registers">,
1365*0a6a1f1dSLionel Sambuc  Flags<[HelpHidden]>;
1366*0a6a1f1dSLionel Sambucdef mglibc : Flag<["-"], "mglibc">, Group<m_libc_Group>, Flags<[HelpHidden]>;
1367*0a6a1f1dSLionel Sambucdef muclibc : Flag<["-"], "muclibc">, Group<m_libc_Group>, Flags<[HelpHidden]>;
1368f4a2713aSLionel Sambucdef module_file_info : Flag<["-"], "module-file-info">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>;
1369f4a2713aSLionel Sambucdef mthumb : Flag<["-"], "mthumb">, Group<m_Group>;
1370f4a2713aSLionel Sambucdef mtune_EQ : Joined<["-"], "mtune=">, Group<m_Group>;
1371f4a2713aSLionel Sambucdef multi__module : Flag<["-"], "multi_module">;
1372f4a2713aSLionel Sambucdef multiply__defined__unused : Separate<["-"], "multiply_defined_unused">;
1373f4a2713aSLionel Sambucdef multiply__defined : Separate<["-"], "multiply_defined">;
1374f4a2713aSLionel Sambucdef mwarn_nonportable_cfstrings : Flag<["-"], "mwarn-nonportable-cfstrings">, Group<m_Group>;
1375f4a2713aSLionel Sambucdef no_canonical_prefixes : Flag<["-"], "no-canonical-prefixes">, Flags<[HelpHidden]>,
1376f4a2713aSLionel Sambuc  HelpText<"Use relative instead of canonical paths">;
1377f4a2713aSLionel Sambucdef no_cpp_precomp : Flag<["-"], "no-cpp-precomp">, Group<clang_ignored_f_Group>;
1378f4a2713aSLionel Sambucdef no_integrated_cpp : Flag<["-", "--"], "no-integrated-cpp">, Flags<[DriverOption]>;
1379f4a2713aSLionel Sambucdef no_pedantic : Flag<["-", "--"], "no-pedantic">, Group<pedantic_Group>;
1380f4a2713aSLionel Sambucdef no__dead__strip__inits__and__terms : Flag<["-"], "no_dead_strip_inits_and_terms">;
1381f4a2713aSLionel Sambucdef nobuiltininc : Flag<["-"], "nobuiltininc">, Flags<[CC1Option]>,
1382f4a2713aSLionel Sambuc  HelpText<"Disable builtin #include directories">;
1383f4a2713aSLionel Sambucdef nodefaultlibs : Flag<["-"], "nodefaultlibs">;
1384f4a2713aSLionel Sambucdef nofixprebinding : Flag<["-"], "nofixprebinding">;
1385f4a2713aSLionel Sambucdef nolibc : Flag<["-"], "nolibc">;
1386f4a2713aSLionel Sambucdef nomultidefs : Flag<["-"], "nomultidefs">;
1387f4a2713aSLionel Sambucdef nopie : Flag<["-"], "nopie">;
1388f4a2713aSLionel Sambucdef noprebind : Flag<["-"], "noprebind">;
1389f4a2713aSLionel Sambucdef noseglinkedit : Flag<["-"], "noseglinkedit">;
1390f4a2713aSLionel Sambucdef nostartfiles : Flag<["-"], "nostartfiles">;
1391f4a2713aSLionel Sambucdef nostdinc : Flag<["-"], "nostdinc">;
1392f4a2713aSLionel Sambucdef nostdlibinc : Flag<["-"], "nostdlibinc">;
1393f4a2713aSLionel Sambucdef nostdincxx : Flag<["-"], "nostdinc++">, Flags<[CC1Option]>,
1394f4a2713aSLionel Sambuc  HelpText<"Disable standard #include directories for the C++ standard library">;
1395f4a2713aSLionel Sambucdef nostdlib : Flag<["-"], "nostdlib">;
1396f4a2713aSLionel Sambucdef object : Flag<["-"], "object">;
1397*0a6a1f1dSLionel Sambucdef o : JoinedOrSeparate<["-"], "o">, Flags<[DriverOption, RenderAsInput, CC1Option, CC1AsOption]>,
1398f4a2713aSLionel Sambuc  HelpText<"Write output to <file>">, MetaVarName<"<file>">;
1399f4a2713aSLionel Sambucdef pagezero__size : JoinedOrSeparate<["-"], "pagezero_size">;
1400f4a2713aSLionel Sambucdef pass_exit_codes : Flag<["-", "--"], "pass-exit-codes">, Flags<[Unsupported]>;
1401f4a2713aSLionel Sambucdef pedantic_errors : Flag<["-", "--"], "pedantic-errors">, Group<pedantic_Group>, Flags<[CC1Option]>;
1402f4a2713aSLionel Sambucdef pedantic : Flag<["-", "--"], "pedantic">, Group<pedantic_Group>, Flags<[CC1Option]>;
1403f4a2713aSLionel Sambucdef pg : Flag<["-"], "pg">, HelpText<"Enable mcount instrumentation">, Flags<[CC1Option]>;
1404f4a2713aSLionel Sambucdef pipe : Flag<["-", "--"], "pipe">,
1405f4a2713aSLionel Sambuc  HelpText<"Use pipes between commands, when possible">;
1406f4a2713aSLionel Sambucdef prebind__all__twolevel__modules : Flag<["-"], "prebind_all_twolevel_modules">;
1407f4a2713aSLionel Sambucdef prebind : Flag<["-"], "prebind">;
1408f4a2713aSLionel Sambucdef preload : Flag<["-"], "preload">;
1409f4a2713aSLionel Sambucdef print_file_name_EQ : Joined<["-", "--"], "print-file-name=">,
1410f4a2713aSLionel Sambuc  HelpText<"Print the full library path of <file>">, MetaVarName<"<file>">;
1411f4a2713aSLionel Sambucdef print_ivar_layout : Flag<["-"], "print-ivar-layout">, Flags<[CC1Option]>,
1412f4a2713aSLionel Sambuc  HelpText<"Enable Objective-C Ivar layout bitmap print trace">;
1413f4a2713aSLionel Sambucdef print_libgcc_file_name : Flag<["-", "--"], "print-libgcc-file-name">,
1414f4a2713aSLionel Sambuc  HelpText<"Print the library path for \"libgcc.a\"">;
1415f4a2713aSLionel Sambucdef print_multi_directory : Flag<["-", "--"], "print-multi-directory">;
1416f4a2713aSLionel Sambucdef print_multi_lib : Flag<["-", "--"], "print-multi-lib">;
1417f4a2713aSLionel Sambucdef print_multi_os_directory : Flag<["-", "--"], "print-multi-os-directory">;
1418f4a2713aSLionel Sambucdef print_prog_name_EQ : Joined<["-", "--"], "print-prog-name=">,
1419f4a2713aSLionel Sambuc  HelpText<"Print the full program path of <name>">, MetaVarName<"<name>">;
1420f4a2713aSLionel Sambucdef print_search_dirs : Flag<["-", "--"], "print-search-dirs">,
1421f4a2713aSLionel Sambuc  HelpText<"Print the paths used for finding libraries and programs">;
1422f4a2713aSLionel Sambucdef private__bundle : Flag<["-"], "private_bundle">;
1423f4a2713aSLionel Sambucdef pthreads : Flag<["-"], "pthreads">;
1424f4a2713aSLionel Sambucdef pthread : Flag<["-"], "pthread">, Flags<[CC1Option]>,
1425f4a2713aSLionel Sambuc  HelpText<"Support POSIX threads in generated code">;
1426f4a2713aSLionel Sambucdef p : Flag<["-"], "p">;
1427f4a2713aSLionel Sambucdef pie : Flag<["-"], "pie">;
1428f4a2713aSLionel Sambucdef read__only__relocs : Separate<["-"], "read_only_relocs">;
1429f4a2713aSLionel Sambucdef remap : Flag<["-"], "remap">;
1430f4a2713aSLionel Sambucdef rewrite_objc : Flag<["-"], "rewrite-objc">, Flags<[DriverOption,CC1Option]>,
1431f4a2713aSLionel Sambuc  HelpText<"Rewrite Objective-C source to C++">, Group<Action_Group>;
1432f4a2713aSLionel Sambucdef rewrite_legacy_objc : Flag<["-"], "rewrite-legacy-objc">, Flags<[DriverOption]>,
1433f4a2713aSLionel Sambuc  HelpText<"Rewrite Legacy Objective-C source to C++">;
1434f4a2713aSLionel Sambucdef rdynamic : Flag<["-"], "rdynamic">;
1435f4a2713aSLionel Sambucdef resource_dir : Separate<["-"], "resource-dir">,
1436f4a2713aSLionel Sambuc  Flags<[DriverOption, CC1Option, HelpHidden]>,
1437f4a2713aSLionel Sambuc  HelpText<"The directory which holds the compiler resource files">;
1438f4a2713aSLionel Sambucdef resource_dir_EQ : Joined<["-"], "resource-dir=">, Flags<[DriverOption]>,
1439f4a2713aSLionel Sambuc  Alias<resource_dir>;
1440f4a2713aSLionel Sambucdef rpath : Separate<["-"], "rpath">, Flags<[LinkerInput]>;
1441f4a2713aSLionel Sambucdef rtlib_EQ : Joined<["-", "--"], "rtlib=">;
1442f4a2713aSLionel Sambucdef r : Flag<["-"], "r">;
1443f4a2713aSLionel Sambucdef save_temps : Flag<["-", "--"], "save-temps">, Flags<[DriverOption]>,
1444f4a2713aSLionel Sambuc  HelpText<"Save intermediate compilation results">;
1445*0a6a1f1dSLionel Sambucdef via_file_asm : Flag<["-", "--"], "via-file-asm">, InternalDebugOpt,
1446*0a6a1f1dSLionel Sambuc  HelpText<"Write assembly to file for input to assemble jobs">;
1447f4a2713aSLionel Sambucdef sectalign : MultiArg<["-"], "sectalign", 3>;
1448f4a2713aSLionel Sambucdef sectcreate : MultiArg<["-"], "sectcreate", 3>;
1449f4a2713aSLionel Sambucdef sectobjectsymbols : MultiArg<["-"], "sectobjectsymbols", 2>;
1450f4a2713aSLionel Sambucdef sectorder : MultiArg<["-"], "sectorder", 3>;
1451f4a2713aSLionel Sambucdef seg1addr : JoinedOrSeparate<["-"], "seg1addr">;
1452f4a2713aSLionel Sambucdef seg__addr__table__filename : Separate<["-"], "seg_addr_table_filename">;
1453f4a2713aSLionel Sambucdef seg__addr__table : Separate<["-"], "seg_addr_table">;
1454f4a2713aSLionel Sambucdef segaddr : MultiArg<["-"], "segaddr", 2>;
1455f4a2713aSLionel Sambucdef segcreate : MultiArg<["-"], "segcreate", 3>;
1456f4a2713aSLionel Sambucdef seglinkedit : Flag<["-"], "seglinkedit">;
1457f4a2713aSLionel Sambucdef segprot : MultiArg<["-"], "segprot", 3>;
1458f4a2713aSLionel Sambucdef segs__read__only__addr : Separate<["-"], "segs_read_only_addr">;
1459f4a2713aSLionel Sambucdef segs__read__write__addr : Separate<["-"], "segs_read_write_addr">;
1460f4a2713aSLionel Sambucdef segs__read__ : Joined<["-"], "segs_read_">;
1461f4a2713aSLionel Sambucdef shared_libgcc : Flag<["-"], "shared-libgcc">;
1462f4a2713aSLionel Sambucdef shared : Flag<["-", "--"], "shared">;
1463f4a2713aSLionel Sambucdef single__module : Flag<["-"], "single_module">;
1464f4a2713aSLionel Sambucdef specs_EQ : Joined<["-", "--"], "specs=">;
1465f4a2713aSLionel Sambucdef specs : Separate<["-", "--"], "specs">, Flags<[Unsupported]>;
1466f4a2713aSLionel Sambucdef static_libgcc : Flag<["-"], "static-libgcc">;
1467f4a2713aSLionel Sambucdef static_libstdcxx : Flag<["-"], "static-libstdc++">;
1468f4a2713aSLionel Sambucdef static : Flag<["-", "--"], "static">, Flags<[NoArgumentUnused]>;
1469f4a2713aSLionel Sambucdef std_default_EQ : Joined<["-"], "std-default=">;
1470f4a2713aSLionel Sambucdef std_EQ : Joined<["-", "--"], "std=">, Flags<[CC1Option]>,
1471f4a2713aSLionel Sambuc  Group<CompileOnly_Group>, HelpText<"Language standard to compile for">;
1472f4a2713aSLionel Sambucdef stdlib_EQ : Joined<["-", "--"], "stdlib=">, Flags<[CC1Option]>,
1473f4a2713aSLionel Sambuc  HelpText<"C++ standard library to use">;
1474f4a2713aSLionel Sambucdef sub__library : JoinedOrSeparate<["-"], "sub_library">;
1475f4a2713aSLionel Sambucdef sub__umbrella : JoinedOrSeparate<["-"], "sub_umbrella">;
1476*0a6a1f1dSLionel Sambucdef system_header_prefix : Joined<["--"], "system-header-prefix=">,
1477*0a6a1f1dSLionel Sambuc  Group<clang_i_Group>, Flags<[CC1Option]>, MetaVarName<"<prefix>">,
1478*0a6a1f1dSLionel Sambuc  HelpText<"Treat all #include paths starting with <prefix> as including a "
1479*0a6a1f1dSLionel Sambuc           "system header.">;
1480*0a6a1f1dSLionel Sambucdef : Separate<["--"], "system-header-prefix">, Alias<system_header_prefix>;
1481*0a6a1f1dSLionel Sambucdef no_system_header_prefix : Joined<["--"], "no-system-header-prefix=">,
1482*0a6a1f1dSLionel Sambuc  Group<clang_i_Group>, Flags<[CC1Option]>, MetaVarName<"<prefix>">,
1483*0a6a1f1dSLionel Sambuc  HelpText<"Treat all #include paths starting with <prefix> as not including a "
1484*0a6a1f1dSLionel Sambuc           "system header.">;
1485*0a6a1f1dSLionel Sambucdef : Separate<["--"], "no-system-header-prefix">, Alias<no_system_header_prefix>;
1486f4a2713aSLionel Sambucdef s : Flag<["-"], "s">;
1487*0a6a1f1dSLionel Sambucdef target : Joined<["--"], "target=">, Flags<[DriverOption, CoreOption]>,
1488f4a2713aSLionel Sambuc  HelpText<"Generate code for the given target">;
1489f4a2713aSLionel Sambucdef gcc_toolchain : Joined<["--"], "gcc-toolchain=">, Flags<[DriverOption]>,
1490f4a2713aSLionel Sambuc  HelpText<"Use the gcc toolchain at the given directory">;
1491f4a2713aSLionel Sambucdef time : Flag<["-"], "time">,
1492f4a2713aSLionel Sambuc  HelpText<"Time individual commands">;
1493f4a2713aSLionel Sambucdef traditional_cpp : Flag<["-", "--"], "traditional-cpp">, Flags<[CC1Option]>,
1494f4a2713aSLionel Sambuc  HelpText<"Enable some traditional CPP emulation">;
1495f4a2713aSLionel Sambucdef traditional : Flag<["-", "--"], "traditional">;
1496*0a6a1f1dSLionel Sambucdef trigraphs : Flag<["-", "--"], "trigraphs">, Alias<ftrigraphs>,
1497f4a2713aSLionel Sambuc  HelpText<"Process trigraph sequences">;
1498f4a2713aSLionel Sambucdef twolevel__namespace__hints : Flag<["-"], "twolevel_namespace_hints">;
1499f4a2713aSLionel Sambucdef twolevel__namespace : Flag<["-"], "twolevel_namespace">;
1500f4a2713aSLionel Sambucdef t : Flag<["-"], "t">;
1501f4a2713aSLionel Sambucdef umbrella : Separate<["-"], "umbrella">;
1502f4a2713aSLionel Sambucdef undefined : JoinedOrSeparate<["-"], "undefined">, Group<u_Group>;
1503f4a2713aSLionel Sambucdef undef : Flag<["-"], "undef">, Group<u_Group>, Flags<[CC1Option]>,
1504f4a2713aSLionel Sambuc  HelpText<"undef all system defines">;
1505f4a2713aSLionel Sambucdef unexported__symbols__list : Separate<["-"], "unexported_symbols_list">;
1506f4a2713aSLionel Sambucdef u : JoinedOrSeparate<["-"], "u">, Group<u_Group>;
1507*0a6a1f1dSLionel Sambucdef v : Flag<["-"], "v">, Flags<[CC1Option, CoreOption]>,
1508f4a2713aSLionel Sambuc  HelpText<"Show commands to run and use verbose output">;
1509*0a6a1f1dSLionel Sambucdef verify_debug_info : Flag<["--"], "verify-debug-info">, Flags<[DriverOption]>,
1510*0a6a1f1dSLionel Sambuc  HelpText<"Verify the binary representation of debug output">;
1511f4a2713aSLionel Sambucdef weak_l : Joined<["-"], "weak-l">, Flags<[LinkerInput]>;
1512f4a2713aSLionel Sambucdef weak__framework : Separate<["-"], "weak_framework">, Flags<[LinkerInput]>;
1513f4a2713aSLionel Sambucdef weak__library : Separate<["-"], "weak_library">, Flags<[LinkerInput]>;
1514f4a2713aSLionel Sambucdef weak__reference__mismatches : Separate<["-"], "weak_reference_mismatches">;
1515f4a2713aSLionel Sambucdef whatsloaded : Flag<["-"], "whatsloaded">;
1516f4a2713aSLionel Sambucdef whyload : Flag<["-"], "whyload">;
1517f4a2713aSLionel Sambucdef w : Flag<["-"], "w">, HelpText<"Suppress all warnings">, Flags<[CC1Option]>;
1518f4a2713aSLionel Sambucdef x : JoinedOrSeparate<["-"], "x">, Flags<[DriverOption,CC1Option]>,
1519f4a2713aSLionel Sambuc  HelpText<"Treat subsequent input files as having type <language>">,
1520f4a2713aSLionel Sambuc  MetaVarName<"<language>">;
1521f4a2713aSLionel Sambucdef y : Joined<["-"], "y">;
1522f4a2713aSLionel Sambuc
1523*0a6a1f1dSLionel Sambucdef fintegrated_as : Flag<["-"], "fintegrated-as">, Flags<[DriverOption]>,
1524*0a6a1f1dSLionel Sambuc                     Group<f_Group>, HelpText<"Enable the integrated assembler">;
1525*0a6a1f1dSLionel Sambucdef fno_integrated_as : Flag<["-"], "fno-integrated-as">,
1526*0a6a1f1dSLionel Sambuc                        Flags<[CC1Option, DriverOption]>, Group<f_Group>,
1527*0a6a1f1dSLionel Sambuc                        HelpText<"Disable the integrated assembler">;
1528*0a6a1f1dSLionel Sambucdef : Flag<["-"], "integrated-as">, Alias<fintegrated_as>, Flags<[DriverOption]>;
1529*0a6a1f1dSLionel Sambucdef : Flag<["-"], "no-integrated-as">, Alias<fno_integrated_as>,
1530*0a6a1f1dSLionel Sambuc      Flags<[CC1Option, DriverOption]>;
1531*0a6a1f1dSLionel Sambuc
1532f4a2713aSLionel Sambucdef working_directory : JoinedOrSeparate<["-"], "working-directory">, Flags<[CC1Option]>,
1533f4a2713aSLionel Sambuc  HelpText<"Resolve file paths relative to the specified directory">;
1534f4a2713aSLionel Sambucdef working_directory_EQ : Joined<["-"], "working-directory=">, Flags<[CC1Option]>,
1535f4a2713aSLionel Sambuc  Alias<working_directory>;
1536f4a2713aSLionel Sambuc
1537f4a2713aSLionel Sambuc// Double dash options, which are usually an alias for one of the previous
1538f4a2713aSLionel Sambuc// options.
1539f4a2713aSLionel Sambuc
1540*0a6a1f1dSLionel Sambucdef _mhwdiv_EQ : Joined<["--"], "mhwdiv=">, Alias<mhwdiv_EQ>;
1541*0a6a1f1dSLionel Sambucdef _mhwdiv : Separate<["--"], "mhwdiv">, Alias<mhwdiv_EQ>;
1542f4a2713aSLionel Sambucdef _CLASSPATH_EQ : Joined<["--"], "CLASSPATH=">, Alias<fclasspath_EQ>;
1543f4a2713aSLionel Sambucdef _CLASSPATH : Separate<["--"], "CLASSPATH">, Alias<fclasspath_EQ>;
1544f4a2713aSLionel Sambucdef _all_warnings : Flag<["--"], "all-warnings">, Alias<Wall>;
1545f4a2713aSLionel Sambucdef _analyze_auto : Flag<["--"], "analyze-auto">, Flags<[DriverOption]>;
1546f4a2713aSLionel Sambucdef _analyzer_no_default_checks : Flag<["--"], "analyzer-no-default-checks">, Flags<[DriverOption]>;
1547f4a2713aSLionel Sambucdef _analyzer_output : JoinedOrSeparate<["--"], "analyzer-output">, Flags<[DriverOption]>;
1548*0a6a1f1dSLionel Sambucdef _analyze : Flag<["--"], "analyze">, Flags<[DriverOption, CoreOption]>,
1549f4a2713aSLionel Sambuc  HelpText<"Run the static analyzer">;
1550f4a2713aSLionel Sambucdef _assemble : Flag<["--"], "assemble">, Alias<S>;
1551f4a2713aSLionel Sambucdef _assert_EQ : Joined<["--"], "assert=">, Alias<A>;
1552f4a2713aSLionel Sambucdef _assert : Separate<["--"], "assert">, Alias<A>;
1553f4a2713aSLionel Sambucdef _bootclasspath_EQ : Joined<["--"], "bootclasspath=">, Alias<fbootclasspath_EQ>;
1554f4a2713aSLionel Sambucdef _bootclasspath : Separate<["--"], "bootclasspath">, Alias<fbootclasspath_EQ>;
1555f4a2713aSLionel Sambucdef _classpath_EQ : Joined<["--"], "classpath=">, Alias<fclasspath_EQ>;
1556f4a2713aSLionel Sambucdef _classpath : Separate<["--"], "classpath">, Alias<fclasspath_EQ>;
1557f4a2713aSLionel Sambucdef _comments_in_macros : Flag<["--"], "comments-in-macros">, Alias<CC>;
1558f4a2713aSLionel Sambucdef _comments : Flag<["--"], "comments">, Alias<C>;
1559f4a2713aSLionel Sambucdef _compile : Flag<["--"], "compile">, Alias<c>;
1560f4a2713aSLionel Sambucdef _constant_cfstrings : Flag<["--"], "constant-cfstrings">;
1561f4a2713aSLionel Sambucdef _debug_EQ : Joined<["--"], "debug=">, Alias<g_Flag>;
1562f4a2713aSLionel Sambucdef _debug : Flag<["--"], "debug">, Alias<g_Flag>;
1563f4a2713aSLionel Sambucdef _define_macro_EQ : Joined<["--"], "define-macro=">, Alias<D>;
1564f4a2713aSLionel Sambucdef _define_macro : Separate<["--"], "define-macro">, Alias<D>;
1565f4a2713aSLionel Sambucdef _dependencies : Flag<["--"], "dependencies">, Alias<M>;
1566f4a2713aSLionel Sambucdef _dyld_prefix_EQ : Joined<["--"], "dyld-prefix=">;
1567f4a2713aSLionel Sambucdef _dyld_prefix : Separate<["--"], "dyld-prefix">, Alias<_dyld_prefix_EQ>;
1568f4a2713aSLionel Sambucdef _encoding_EQ : Joined<["--"], "encoding=">, Alias<fencoding_EQ>;
1569f4a2713aSLionel Sambucdef _encoding : Separate<["--"], "encoding">, Alias<fencoding_EQ>;
1570f4a2713aSLionel Sambucdef _entry : Flag<["--"], "entry">, Alias<e>;
1571f4a2713aSLionel Sambucdef _extdirs_EQ : Joined<["--"], "extdirs=">, Alias<fextdirs_EQ>;
1572f4a2713aSLionel Sambucdef _extdirs : Separate<["--"], "extdirs">, Alias<fextdirs_EQ>;
1573f4a2713aSLionel Sambucdef _extra_warnings : Flag<["--"], "extra-warnings">, Alias<W_Joined>;
1574f4a2713aSLionel Sambucdef _for_linker_EQ : Joined<["--"], "for-linker=">, Alias<Xlinker>;
1575f4a2713aSLionel Sambucdef _for_linker : Separate<["--"], "for-linker">, Alias<Xlinker>;
1576f4a2713aSLionel Sambucdef _force_link_EQ : Joined<["--"], "force-link=">, Alias<u>;
1577f4a2713aSLionel Sambucdef _force_link : Separate<["--"], "force-link">, Alias<u>;
1578f4a2713aSLionel Sambucdef _help_hidden : Flag<["--"], "help-hidden">;
1579f4a2713aSLionel Sambucdef _imacros_EQ : Joined<["--"], "imacros=">, Alias<imacros>;
1580f4a2713aSLionel Sambucdef _include_barrier : Flag<["--"], "include-barrier">, Alias<I_>;
1581f4a2713aSLionel Sambucdef _include_directory_after_EQ : Joined<["--"], "include-directory-after=">, Alias<idirafter>;
1582f4a2713aSLionel Sambucdef _include_directory_after : Separate<["--"], "include-directory-after">, Alias<idirafter>;
1583f4a2713aSLionel Sambucdef _include_directory_EQ : Joined<["--"], "include-directory=">, Alias<I>;
1584f4a2713aSLionel Sambucdef _include_directory : Separate<["--"], "include-directory">, Alias<I>;
1585f4a2713aSLionel Sambucdef _include_prefix_EQ : Joined<["--"], "include-prefix=">, Alias<iprefix>;
1586f4a2713aSLionel Sambucdef _include_prefix : Separate<["--"], "include-prefix">, Alias<iprefix>;
1587f4a2713aSLionel Sambucdef _include_with_prefix_after_EQ : Joined<["--"], "include-with-prefix-after=">, Alias<iwithprefix>;
1588f4a2713aSLionel Sambucdef _include_with_prefix_after : Separate<["--"], "include-with-prefix-after">, Alias<iwithprefix>;
1589f4a2713aSLionel Sambucdef _include_with_prefix_before_EQ : Joined<["--"], "include-with-prefix-before=">, Alias<iwithprefixbefore>;
1590f4a2713aSLionel Sambucdef _include_with_prefix_before : Separate<["--"], "include-with-prefix-before">, Alias<iwithprefixbefore>;
1591f4a2713aSLionel Sambucdef _include_with_prefix_EQ : Joined<["--"], "include-with-prefix=">, Alias<iwithprefix>;
1592f4a2713aSLionel Sambucdef _include_with_prefix : Separate<["--"], "include-with-prefix">, Alias<iwithprefix>;
1593f4a2713aSLionel Sambucdef _include_EQ : Joined<["--"], "include=">, Alias<include_>;
1594f4a2713aSLionel Sambucdef _language_EQ : Joined<["--"], "language=">, Alias<x>;
1595f4a2713aSLionel Sambucdef _language : Separate<["--"], "language">, Alias<x>;
1596f4a2713aSLionel Sambucdef _library_directory_EQ : Joined<["--"], "library-directory=">, Alias<L>;
1597f4a2713aSLionel Sambucdef _library_directory : Separate<["--"], "library-directory">, Alias<L>;
1598f4a2713aSLionel Sambucdef _no_line_commands : Flag<["--"], "no-line-commands">, Alias<P>;
1599f4a2713aSLionel Sambucdef _no_standard_includes : Flag<["--"], "no-standard-includes">, Alias<nostdinc>;
1600f4a2713aSLionel Sambucdef _no_standard_libraries : Flag<["--"], "no-standard-libraries">, Alias<nostdlib>;
1601f4a2713aSLionel Sambucdef _no_undefined : Flag<["--"], "no-undefined">, Flags<[LinkerInput]>;
1602f4a2713aSLionel Sambucdef _no_warnings : Flag<["--"], "no-warnings">, Alias<w>;
1603f4a2713aSLionel Sambucdef _optimize_EQ : Joined<["--"], "optimize=">, Alias<O>;
1604f4a2713aSLionel Sambucdef _optimize : Flag<["--"], "optimize">, Alias<O>;
1605f4a2713aSLionel Sambucdef _output_class_directory_EQ : Joined<["--"], "output-class-directory=">, Alias<foutput_class_dir_EQ>;
1606f4a2713aSLionel Sambucdef _output_class_directory : Separate<["--"], "output-class-directory">, Alias<foutput_class_dir_EQ>;
1607f4a2713aSLionel Sambucdef _output_EQ : Joined<["--"], "output=">, Alias<o>;
1608f4a2713aSLionel Sambucdef _output : Separate<["--"], "output">, Alias<o>;
1609f4a2713aSLionel Sambucdef _param : Separate<["--"], "param">, Group<CompileOnly_Group>;
1610f4a2713aSLionel Sambucdef _param_EQ : Joined<["--"], "param=">, Alias<_param>;
1611f4a2713aSLionel Sambucdef _prefix_EQ : Joined<["--"], "prefix=">, Alias<B>;
1612f4a2713aSLionel Sambucdef _prefix : Separate<["--"], "prefix">, Alias<B>;
1613f4a2713aSLionel Sambucdef _preprocess : Flag<["--"], "preprocess">, Alias<E>;
1614f4a2713aSLionel Sambucdef _print_diagnostic_categories : Flag<["--"], "print-diagnostic-categories">;
1615f4a2713aSLionel Sambucdef _print_file_name : Separate<["--"], "print-file-name">, Alias<print_file_name_EQ>;
1616f4a2713aSLionel Sambucdef _print_missing_file_dependencies : Flag<["--"], "print-missing-file-dependencies">, Alias<MG>;
1617f4a2713aSLionel Sambucdef _print_prog_name : Separate<["--"], "print-prog-name">, Alias<print_prog_name_EQ>;
1618f4a2713aSLionel Sambucdef _profile_blocks : Flag<["--"], "profile-blocks">, Alias<a>;
1619f4a2713aSLionel Sambucdef _profile : Flag<["--"], "profile">, Alias<p>;
1620f4a2713aSLionel Sambucdef _resource_EQ : Joined<["--"], "resource=">, Alias<fcompile_resource_EQ>;
1621f4a2713aSLionel Sambucdef _resource : Separate<["--"], "resource">, Alias<fcompile_resource_EQ>;
1622f4a2713aSLionel Sambucdef _rtlib : Separate<["--"], "rtlib">, Alias<rtlib_EQ>;
1623f4a2713aSLionel Sambucdef _serialize_diags : Separate<["-", "--"], "serialize-diagnostics">, Flags<[DriverOption]>,
1624f4a2713aSLionel Sambuc  HelpText<"Serialize compiler diagnostics to a file">;
1625f4a2713aSLionel Sambuc// We give --version different semantics from -version.
1626f4a2713aSLionel Sambucdef _version : Flag<["--"], "version">,  Flags<[CC1Option]>;
1627f4a2713aSLionel Sambucdef _signed_char : Flag<["--"], "signed-char">, Alias<fsigned_char>;
1628f4a2713aSLionel Sambucdef _std : Separate<["--"], "std">, Alias<std_EQ>;
1629f4a2713aSLionel Sambucdef _stdlib : Separate<["--"], "stdlib">, Alias<stdlib_EQ>;
1630f4a2713aSLionel Sambucdef _sysroot_EQ : Joined<["--"], "sysroot=">;
1631f4a2713aSLionel Sambucdef _sysroot : Separate<["--"], "sysroot">, Alias<_sysroot_EQ>;
1632f4a2713aSLionel Sambucdef _target_help : Flag<["--"], "target-help">;
1633f4a2713aSLionel Sambucdef _trace_includes : Flag<["--"], "trace-includes">, Alias<H>;
1634f4a2713aSLionel Sambucdef _undefine_macro_EQ : Joined<["--"], "undefine-macro=">, Alias<U>;
1635f4a2713aSLionel Sambucdef _undefine_macro : Separate<["--"], "undefine-macro">, Alias<U>;
1636f4a2713aSLionel Sambucdef _unsigned_char : Flag<["--"], "unsigned-char">, Alias<funsigned_char>;
1637f4a2713aSLionel Sambucdef _user_dependencies : Flag<["--"], "user-dependencies">, Alias<MM>;
1638f4a2713aSLionel Sambucdef _verbose : Flag<["--"], "verbose">, Alias<v>;
1639f4a2713aSLionel Sambucdef _warn__EQ : Joined<["--"], "warn-=">, Alias<W_Joined>;
1640f4a2713aSLionel Sambucdef _warn_ : Joined<["--"], "warn-">, Alias<W_Joined>;
1641f4a2713aSLionel Sambucdef _write_dependencies : Flag<["--"], "write-dependencies">, Alias<MD>;
1642f4a2713aSLionel Sambucdef _write_user_dependencies : Flag<["--"], "write-user-dependencies">, Alias<MMD>;
1643f4a2713aSLionel Sambucdef _ : Joined<["--"], "">, Flags<[Unsupported]>;
1644f4a2713aSLionel Sambucdef mieee_rnd_near : Flag<["-"], "mieee-rnd-near">, Group<m_hexagon_Features_Group>;
1645f4a2713aSLionel Sambucdef mv1 : Flag<["-"], "mv1">, Group<m_hexagon_Features_Group>, Alias<march_EQ>,
1646f4a2713aSLionel Sambuc          AliasArgs<["v1"]>;
1647f4a2713aSLionel Sambucdef mv2 : Flag<["-"], "mv2">, Group<m_hexagon_Features_Group>, Alias<march_EQ>,
1648f4a2713aSLionel Sambuc          AliasArgs<["v2"]>;
1649f4a2713aSLionel Sambucdef mv3 : Flag<["-"], "mv3">, Group<m_hexagon_Features_Group>, Alias<march_EQ>,
1650f4a2713aSLionel Sambuc          AliasArgs<["v3"]>;
1651f4a2713aSLionel Sambucdef mv4 : Flag<["-"], "mv4">, Group<m_hexagon_Features_Group>, Alias<march_EQ>,
1652f4a2713aSLionel Sambuc          AliasArgs<["v4"]>;
1653f4a2713aSLionel Sambucdef mv5 : Flag<["-"], "mv5">, Group<m_hexagon_Features_Group>, Alias<march_EQ>,
1654f4a2713aSLionel Sambuc          AliasArgs<["v5"]>;
1655f4a2713aSLionel Sambuc
1656f4a2713aSLionel Sambuc// These are legacy user-facing driver-level option spellings. They are always
1657f4a2713aSLionel Sambuc// aliases for options that are spelled using the more common Unix / GNU flag
1658f4a2713aSLionel Sambuc// style of double-dash and equals-joined flags.
1659f4a2713aSLionel Sambucdef gcc_toolchain_legacy_spelling : Separate<["-"], "gcc-toolchain">, Alias<gcc_toolchain>;
1660f4a2713aSLionel Sambucdef target_legacy_spelling : Separate<["-"], "target">, Alias<target>;
1661f4a2713aSLionel Sambuc
1662f4a2713aSLionel Sambuc// Special internal option to handle -Xlinker --no-demangle.
1663f4a2713aSLionel Sambucdef Z_Xlinker__no_demangle : Flag<["-"], "Z-Xlinker-no-demangle">,
1664f4a2713aSLionel Sambuc    Flags<[Unsupported, NoArgumentUnused]>;
1665f4a2713aSLionel Sambuc
1666f4a2713aSLionel Sambuc// Special internal option to allow forwarding arbitrary arguments to linker.
1667f4a2713aSLionel Sambucdef Zlinker_input : Separate<["-"], "Zlinker-input">,
1668f4a2713aSLionel Sambuc    Flags<[Unsupported, NoArgumentUnused]>;
1669f4a2713aSLionel Sambuc
1670f4a2713aSLionel Sambuc// Reserved library options.
1671f4a2713aSLionel Sambucdef Z_reserved_lib_stdcxx : Flag<["-"], "Z-reserved-lib-stdc++">,
1672f4a2713aSLionel Sambuc    Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group<reserved_lib_Group>;
1673f4a2713aSLionel Sambucdef Z_reserved_lib_cckext : Flag<["-"], "Z-reserved-lib-cckext">,
1674f4a2713aSLionel Sambuc    Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group<reserved_lib_Group>;
1675f4a2713aSLionel Sambuc
1676f4a2713aSLionel Sambuc// Ignored options
1677f4a2713aSLionel Sambuc// FIXME: multiclasess produce suffixes, not prefixes. This is fine for now
1678f4a2713aSLionel Sambuc// since it is only used in ignored options.
1679f4a2713aSLionel Sambucmulticlass BooleanFFlag<string name> {
1680f4a2713aSLionel Sambuc  def _f : Flag<["-"], "f"#name>;
1681f4a2713aSLionel Sambuc  def _fno : Flag<["-"], "fno-"#name>;
1682f4a2713aSLionel Sambuc}
1683f4a2713aSLionel Sambuc
1684*0a6a1f1dSLionel Sambucdefm : BooleanFFlag<"keep-inline-functions">, Group<clang_ignored_gcc_optimization_f_Group>;
1685f4a2713aSLionel Sambuc
1686*0a6a1f1dSLionel Sambucdef fprofile_dir : Joined<["-"], "fprofile-dir=">, Group<clang_ignored_gcc_optimization_f_Group>;
1687f4a2713aSLionel Sambuc
1688*0a6a1f1dSLionel Sambucdefm profile_use : BooleanFFlag<"profile-use">, Group<clang_ignored_gcc_optimization_f_Group>;
1689*0a6a1f1dSLionel Sambucdef fprofile_use_EQ : Joined<["-"], "fprofile-use=">, Group<clang_ignored_gcc_optimization_f_Group>;
1690*0a6a1f1dSLionel Sambucdef fuse_ld_EQ : Joined<["-"], "fuse-ld=">, Group<f_Group>;
1691*0a6a1f1dSLionel Sambuc
1692*0a6a1f1dSLionel Sambucdefm align_functions : BooleanFFlag<"align-functions">, Group<clang_ignored_gcc_optimization_f_Group>;
1693*0a6a1f1dSLionel Sambucdef falign_functions_EQ : Joined<["-"], "falign-functions=">, Group<clang_ignored_gcc_optimization_f_Group>;
1694*0a6a1f1dSLionel Sambucdefm align_labels : BooleanFFlag<"align-labels">, Group<clang_ignored_gcc_optimization_f_Group>;
1695*0a6a1f1dSLionel Sambucdef falign_labels_EQ : Joined<["-"], "falign-labels=">, Group<clang_ignored_gcc_optimization_f_Group>;
1696*0a6a1f1dSLionel Sambucdefm align_loops : BooleanFFlag<"align-loops">, Group<clang_ignored_gcc_optimization_f_Group>;
1697*0a6a1f1dSLionel Sambucdef falign_loops_EQ : Joined<["-"], "falign-loops=">, Group<clang_ignored_gcc_optimization_f_Group>;
1698*0a6a1f1dSLionel Sambucdefm align_jumps : BooleanFFlag<"align-jumps">, Group<clang_ignored_gcc_optimization_f_Group>;
1699*0a6a1f1dSLionel Sambucdef falign_jumps_EQ : Joined<["-"], "falign-jumps=">, Group<clang_ignored_gcc_optimization_f_Group>;
1700f4a2713aSLionel Sambuc
1701f4a2713aSLionel Sambuc// FIXME: This option should be supported and wired up to our diognostics, but
1702f4a2713aSLionel Sambuc// ignore it for now to avoid breaking builds that use it.
1703f4a2713aSLionel Sambucdef fdiagnostics_show_location_EQ : Joined<["-"], "fdiagnostics-show-location=">, Group<clang_ignored_f_Group>;
1704f4a2713aSLionel Sambuc
1705*0a6a1f1dSLionel Sambucdefm fcheck_new : BooleanFFlag<"check-new">, Group<clang_ignored_f_Group>;
1706*0a6a1f1dSLionel Sambucdefm caller_saves : BooleanFFlag<"caller-saves">, Group<clang_ignored_gcc_optimization_f_Group>;
1707*0a6a1f1dSLionel Sambucdefm reorder_blocks : BooleanFFlag<"reorder-blocks">, Group<clang_ignored_gcc_optimization_f_Group>;
1708f4a2713aSLionel Sambucdefm eliminate_unused_debug_types : BooleanFFlag<"eliminate-unused-debug-types">, Group<clang_ignored_f_Group>;
1709*0a6a1f1dSLionel Sambucdefm branch_count_reg : BooleanFFlag<"branch-count-reg">, Group<clang_ignored_gcc_optimization_f_Group>;
1710*0a6a1f1dSLionel Sambucdefm default_inline : BooleanFFlag<"default-inline">, Group<clang_ignored_gcc_optimization_f_Group>;
1711*0a6a1f1dSLionel Sambucdefm delete_null_pointer_checks : BooleanFFlag<"delete-null-pointer-checks">,
1712*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1713*0a6a1f1dSLionel Sambucdefm fat_lto_objects : BooleanFFlag<"fat-lto-objects">, Group<clang_ignored_gcc_optimization_f_Group>;
1714*0a6a1f1dSLionel Sambucdefm float_store : BooleanFFlag<"float-store">, Group<clang_ignored_gcc_optimization_f_Group>;
1715*0a6a1f1dSLionel Sambucdefm friend_injection : BooleanFFlag<"friend-injection">, Group<clang_ignored_f_Group>;
1716f4a2713aSLionel Sambucdefm function_attribute_list : BooleanFFlag<"function-attribute-list">, Group<clang_ignored_f_Group>;
1717*0a6a1f1dSLionel Sambucdefm gcse : BooleanFFlag<"gcse">, Group<clang_ignored_gcc_optimization_f_Group>;
1718*0a6a1f1dSLionel Sambucdefm gcse_after_reload: BooleanFFlag<"gcse-after-reload">, Group<clang_ignored_gcc_optimization_f_Group>;
1719*0a6a1f1dSLionel Sambucdefm gcse_las: BooleanFFlag<"gcse-las">, Group<clang_ignored_gcc_optimization_f_Group>;
1720*0a6a1f1dSLionel Sambucdefm gcse_sm: BooleanFFlag<"gcse-sm">, Group<clang_ignored_gcc_optimization_f_Group>;
1721f4a2713aSLionel Sambucdefm gnu : BooleanFFlag<"gnu">, Group<clang_ignored_f_Group>;
1722f4a2713aSLionel Sambucdefm ident : BooleanFFlag<"ident">, Group<clang_ignored_f_Group>;
1723f4a2713aSLionel Sambucdefm implicit_templates : BooleanFFlag<"implicit-templates">, Group<clang_ignored_f_Group>;
1724*0a6a1f1dSLionel Sambucdefm implement_inlines : BooleanFFlag<"implement-inlines">, Group<clang_ignored_f_Group>;
1725*0a6a1f1dSLionel Sambucdefm merge_constants : BooleanFFlag<"merge-constants">, Group<clang_ignored_gcc_optimization_f_Group>;
1726*0a6a1f1dSLionel Sambucdefm modulo_sched : BooleanFFlag<"modulo-sched">, Group<clang_ignored_gcc_optimization_f_Group>;
1727*0a6a1f1dSLionel Sambucdefm modulo_sched_allow_regmoves : BooleanFFlag<"modulo-sched-allow-regmoves">,
1728*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1729*0a6a1f1dSLionel Sambucdefm inline_functions_called_once : BooleanFFlag<"inline-functions-called-once">,
1730*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1731*0a6a1f1dSLionel Sambucdef finline_limit_EQ : Joined<["-"], "finline-limit=">, Group<clang_ignored_gcc_optimization_f_Group>;
1732*0a6a1f1dSLionel Sambucdefm finline_limit : BooleanFFlag<"inline-limit">, Group<clang_ignored_gcc_optimization_f_Group>;
1733*0a6a1f1dSLionel Sambucdefm inline_small_functions : BooleanFFlag<"inline-small-functions">,
1734*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1735*0a6a1f1dSLionel Sambucdefm ipa_cp : BooleanFFlag<"ipa-cp">,
1736*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1737*0a6a1f1dSLionel Sambucdefm ivopts : BooleanFFlag<"ivopts">, Group<clang_ignored_gcc_optimization_f_Group>;
1738f4a2713aSLionel Sambucdefm non_call_exceptions : BooleanFFlag<"non-call-exceptions">, Group<clang_ignored_f_Group>;
1739*0a6a1f1dSLionel Sambucdefm peel_loops : BooleanFFlag<"peel-loops">, Group<clang_ignored_gcc_optimization_f_Group>;
1740f4a2713aSLionel Sambucdefm permissive : BooleanFFlag<"permissive">, Group<clang_ignored_f_Group>;
1741*0a6a1f1dSLionel Sambucdefm prefetch_loop_arrays : BooleanFFlag<"prefetch-loop-arrays">, Group<clang_ignored_gcc_optimization_f_Group>;
1742f4a2713aSLionel Sambucdefm printf : BooleanFFlag<"printf">, Group<clang_ignored_f_Group>;
1743f4a2713aSLionel Sambucdefm profile : BooleanFFlag<"profile">, Group<clang_ignored_f_Group>;
1744*0a6a1f1dSLionel Sambucdefm profile_correction : BooleanFFlag<"profile-correction">, Group<clang_ignored_gcc_optimization_f_Group>;
1745f4a2713aSLionel Sambucdefm profile_generate_sampling : BooleanFFlag<"profile-generate-sampling">, Group<clang_ignored_f_Group>;
1746f4a2713aSLionel Sambucdefm profile_reusedist : BooleanFFlag<"profile-reusedist">, Group<clang_ignored_f_Group>;
1747*0a6a1f1dSLionel Sambucdefm profile_values : BooleanFFlag<"profile-values">, Group<clang_ignored_gcc_optimization_f_Group>;
1748f4a2713aSLionel Sambucdefm regs_graph : BooleanFFlag<"regs-graph">, Group<clang_ignored_f_Group>;
1749*0a6a1f1dSLionel Sambucdefm rename_registers : BooleanFFlag<"rename-registers">, Group<clang_ignored_gcc_optimization_f_Group>;
1750f4a2713aSLionel Sambucdefm ripa : BooleanFFlag<"ripa">, Group<clang_ignored_f_Group>;
1751*0a6a1f1dSLionel Sambucdefm rounding_math : BooleanFFlag<"rounding-math">, Group<clang_ignored_gcc_optimization_f_Group>;
1752*0a6a1f1dSLionel Sambucdefm schedule_insns : BooleanFFlag<"schedule-insns">, Group<clang_ignored_gcc_optimization_f_Group>;
1753*0a6a1f1dSLionel Sambucdefm schedule_insns2 : BooleanFFlag<"schedule-insns2">, Group<clang_ignored_gcc_optimization_f_Group>;
1754f4a2713aSLionel Sambucdefm see : BooleanFFlag<"see">, Group<clang_ignored_f_Group>;
1755*0a6a1f1dSLionel Sambucdefm signaling_nans : BooleanFFlag<"signaling-nans">, Group<clang_ignored_gcc_optimization_f_Group>;
1756*0a6a1f1dSLionel Sambucdefm single_precision_constant : BooleanFFlag<"single-precision-constant">,
1757*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1758f4a2713aSLionel Sambucdefm spec_constr_count : BooleanFFlag<"spec-constr-count">, Group<clang_ignored_f_Group>;
1759*0a6a1f1dSLionel Sambucdefm stack_check : BooleanFFlag<"stack-check">, Group<clang_ignored_f_Group>;
1760f4a2713aSLionel Sambucdefm strength_reduce :
1761*0a6a1f1dSLionel Sambuc    BooleanFFlag<"strength-reduce">, Group<clang_ignored_gcc_optimization_f_Group>;
1762f4a2713aSLionel Sambucdefm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
1763*0a6a1f1dSLionel Sambucdefm tracer : BooleanFFlag<"tracer">, Group<clang_ignored_gcc_optimization_f_Group>;
1764*0a6a1f1dSLionel Sambucdefm tree_dce : BooleanFFlag<"tree-dce">, Group<clang_ignored_gcc_optimization_f_Group>;
1765*0a6a1f1dSLionel Sambucdefm tree_loop_im : BooleanFFlag<"tree_loop_im">,  Group<clang_ignored_gcc_optimization_f_Group>;
1766*0a6a1f1dSLionel Sambucdefm tree_loop_ivcanon : BooleanFFlag<"tree_loop_ivcanon">,  Group<clang_ignored_gcc_optimization_f_Group>;
1767*0a6a1f1dSLionel Sambucdefm tree_loop_linear : BooleanFFlag<"tree_loop_linear">,  Group<clang_ignored_gcc_optimization_f_Group>;
1768f4a2713aSLionel Sambucdefm tree_salias : BooleanFFlag<"tree-salias">, Group<clang_ignored_f_Group>;
1769*0a6a1f1dSLionel Sambucdefm tree_ter : BooleanFFlag<"tree-ter">, Group<clang_ignored_gcc_optimization_f_Group>;
1770f4a2713aSLionel Sambucdefm tree_vectorizer_verbose : BooleanFFlag<"tree-vectorizer-verbose">, Group<clang_ignored_f_Group>;
1771*0a6a1f1dSLionel Sambucdefm tree_vrp : BooleanFFlag<"tree-vrp">, Group<clang_ignored_gcc_optimization_f_Group>;
1772*0a6a1f1dSLionel Sambucdefm unroll_all_loops : BooleanFFlag<"unroll-all-loops">, Group<clang_ignored_gcc_optimization_f_Group>;
1773*0a6a1f1dSLionel Sambucdefm unsafe_loop_optimizations : BooleanFFlag<"unsafe-loop-optimizations">,
1774*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1775*0a6a1f1dSLionel Sambucdefm unswitch_loops : BooleanFFlag<"unswitch-loops">, Group<clang_ignored_gcc_optimization_f_Group>;
1776*0a6a1f1dSLionel Sambucdefm use_linker_plugin : BooleanFFlag<"use-linker-plugin">, Group<clang_ignored_gcc_optimization_f_Group>;
1777*0a6a1f1dSLionel Sambucdefm vect_cost_model : BooleanFFlag<"vect-cost-model">, Group<clang_ignored_gcc_optimization_f_Group>;
1778*0a6a1f1dSLionel Sambucdefm variable_expansion_in_unroller : BooleanFFlag<"variable-expansion-in-unroller">,
1779*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1780*0a6a1f1dSLionel Sambucdefm web : BooleanFFlag<"web">, Group<clang_ignored_gcc_optimization_f_Group>;
1781*0a6a1f1dSLionel Sambucdefm whole_program : BooleanFFlag<"whole-program">, Group<clang_ignored_gcc_optimization_f_Group>;
1782*0a6a1f1dSLionel Sambucdefm devirtualize : BooleanFFlag<"devirtualize">, Group<clang_ignored_gcc_optimization_f_Group>;
1783*0a6a1f1dSLionel Sambucdefm devirtualize_speculatively : BooleanFFlag<"devirtualize-speculatively">,
1784*0a6a1f1dSLionel Sambuc    Group<clang_ignored_gcc_optimization_f_Group>;
1785f4a2713aSLionel Sambuc
1786f4a2713aSLionel Sambuc// gfortran options that we recognize in the driver and pass along when
1787f4a2713aSLionel Sambuc// invoking GCC to compile Fortran code.
1788f4a2713aSLionel Sambucdef gfortran_Group : OptionGroup<"gfortran Group">;
1789f4a2713aSLionel Sambuc
1790f4a2713aSLionel Sambuc// Generic gfortran options.
1791f4a2713aSLionel Sambucdef A_DASH : Joined<["-"], "A-">, Group<gfortran_Group>;
1792f4a2713aSLionel Sambucdef J : JoinedOrSeparate<["-"], "J">, Flags<[RenderJoined]>, Group<gfortran_Group>;
1793f4a2713aSLionel Sambucdef cpp : Flag<["-"], "cpp">, Group<gfortran_Group>;
1794f4a2713aSLionel Sambucdef nocpp : Flag<["-"], "nocpp">, Group<gfortran_Group>;
1795f4a2713aSLionel Sambucdef static_libgfortran : Flag<["-"], "static-libgfortran">, Group<gfortran_Group>;
1796f4a2713aSLionel Sambuc
1797f4a2713aSLionel Sambuc// "f" options with values for gfortran.
1798f4a2713aSLionel Sambucdef fblas_matmul_limit_EQ : Joined<["-"], "fblas-matmul-limit=">, Group<gfortran_Group>;
1799f4a2713aSLionel Sambucdef fcheck_EQ : Joined<["-"], "fcheck=">, Group<gfortran_Group>;
1800f4a2713aSLionel Sambucdef fcoarray_EQ : Joined<["-"], "fcoarray=">, Group<gfortran_Group>;
1801f4a2713aSLionel Sambucdef fconvert_EQ : Joined<["-"], "fconvert=">, Group<gfortran_Group>;
1802f4a2713aSLionel Sambucdef ffixed_line_length_VALUE : Joined<["-"], "ffixed-line-length-">, Group<gfortran_Group>;
1803f4a2713aSLionel Sambucdef ffpe_trap_EQ : Joined<["-"], "ffpe-trap=">, Group<gfortran_Group>;
1804f4a2713aSLionel Sambucdef ffree_line_length_VALUE : Joined<["-"], "ffree-line-length-">, Group<gfortran_Group>;
1805f4a2713aSLionel Sambucdef finit_character_EQ : Joined<["-"], "finit-character=">, Group<gfortran_Group>;
1806f4a2713aSLionel Sambucdef finit_integer_EQ : Joined<["-"], "finit-integer=">, Group<gfortran_Group>;
1807f4a2713aSLionel Sambucdef finit_logical_EQ : Joined<["-"], "finit-logical=">, Group<gfortran_Group>;
1808f4a2713aSLionel Sambucdef finit_real_EQ : Joined<["-"], "finit-real=">, Group<gfortran_Group>;
1809f4a2713aSLionel Sambucdef fmax_array_constructor_EQ : Joined<["-"], "fmax-array-constructor=">, Group<gfortran_Group>;
1810f4a2713aSLionel Sambucdef fmax_errors_EQ : Joined<["-"], "fmax-errors=">, Group<gfortran_Group>;
1811f4a2713aSLionel Sambucdef fmax_stack_var_size_EQ : Joined<["-"], "fmax-stack-var-size=">, Group<gfortran_Group>;
1812f4a2713aSLionel Sambucdef fmax_subrecord_length_EQ : Joined<["-"], "fmax-subrecord-length=">, Group<gfortran_Group>;
1813f4a2713aSLionel Sambucdef frecord_marker_EQ : Joined<["-"], "frecord-marker=">, Group<gfortran_Group>;
1814f4a2713aSLionel Sambuc
1815f4a2713aSLionel Sambuc// "f" flags for gfortran.
1816f4a2713aSLionel Sambucdefm aggressive_function_elimination : BooleanFFlag<"aggressive-function-elimination">, Group<gfortran_Group>;
1817f4a2713aSLionel Sambucdefm align_commons : BooleanFFlag<"align-commons">, Group<gfortran_Group>;
1818f4a2713aSLionel Sambucdefm all_intrinsics : BooleanFFlag<"all-intrinsics">, Group<gfortran_Group>;
1819f4a2713aSLionel Sambucdefm automatic : BooleanFFlag<"automatic">, Group<gfortran_Group>;
1820f4a2713aSLionel Sambucdefm backslash : BooleanFFlag<"backslash">, Group<gfortran_Group>;
1821f4a2713aSLionel Sambucdefm backtrace : BooleanFFlag<"backtrace">, Group<gfortran_Group>;
1822f4a2713aSLionel Sambucdefm bounds_check : BooleanFFlag<"bounds-check">, Group<gfortran_Group>;
1823f4a2713aSLionel Sambucdefm check_array_temporaries : BooleanFFlag<"check-array-temporaries">, Group<gfortran_Group>;
1824f4a2713aSLionel Sambucdefm cray_pointer : BooleanFFlag<"cray-pointer">, Group<gfortran_Group>;
1825f4a2713aSLionel Sambucdefm d_lines_as_code : BooleanFFlag<"d-lines-as-code">, Group<gfortran_Group>;
1826f4a2713aSLionel Sambucdefm d_lines_as_comments : BooleanFFlag<"d-lines-as-comments">, Group<gfortran_Group>;
1827f4a2713aSLionel Sambucdefm default_double_8 : BooleanFFlag<"default-double-8">, Group<gfortran_Group>;
1828f4a2713aSLionel Sambucdefm default_integer_8 : BooleanFFlag<"default-integer-8">, Group<gfortran_Group>;
1829f4a2713aSLionel Sambucdefm default_real_8 : BooleanFFlag<"default-real-8">, Group<gfortran_Group>;
1830f4a2713aSLionel Sambucdefm dollar_ok : BooleanFFlag<"dollar-ok">, Group<gfortran_Group>;
1831f4a2713aSLionel Sambucdefm dump_fortran_optimized : BooleanFFlag<"dump-fortran-optimized">, Group<gfortran_Group>;
1832f4a2713aSLionel Sambucdefm dump_fortran_original : BooleanFFlag<"dump-fortran-original">, Group<gfortran_Group>;
1833f4a2713aSLionel Sambucdefm dump_parse_tree : BooleanFFlag<"dump-parse-tree">, Group<gfortran_Group>;
1834f4a2713aSLionel Sambucdefm external_blas : BooleanFFlag<"external-blas">, Group<gfortran_Group>;
1835f4a2713aSLionel Sambucdefm f2c : BooleanFFlag<"f2c">, Group<gfortran_Group>;
1836f4a2713aSLionel Sambucdefm fixed_form : BooleanFFlag<"fixed-form">, Group<gfortran_Group>;
1837f4a2713aSLionel Sambucdefm free_form : BooleanFFlag<"free-form">, Group<gfortran_Group>;
1838f4a2713aSLionel Sambucdefm frontend_optimize : BooleanFFlag<"frontend-optimize">, Group<gfortran_Group>;
1839f4a2713aSLionel Sambucdefm implicit_none : BooleanFFlag<"implicit-none">, Group<gfortran_Group>;
1840f4a2713aSLionel Sambucdefm init_local_zero : BooleanFFlag<"init-local-zero">, Group<gfortran_Group>;
1841f4a2713aSLionel Sambucdefm integer_4_integer_8 : BooleanFFlag<"integer-4-integer-8">, Group<gfortran_Group>;
1842f4a2713aSLionel Sambucdefm intrinsic_modules_path : BooleanFFlag<"intrinsic-modules-path">, Group<gfortran_Group>;
1843f4a2713aSLionel Sambucdefm max_identifier_length : BooleanFFlag<"max-identifier-length">, Group<gfortran_Group>;
1844f4a2713aSLionel Sambucdefm module_private : BooleanFFlag<"module-private">, Group<gfortran_Group>;
1845f4a2713aSLionel Sambucdefm pack_derived : BooleanFFlag<"pack-derived">, Group<gfortran_Group>;
1846f4a2713aSLionel Sambucdefm protect_parens : BooleanFFlag<"protect-parens">, Group<gfortran_Group>;
1847f4a2713aSLionel Sambucdefm range_check : BooleanFFlag<"range-check">, Group<gfortran_Group>;
1848f4a2713aSLionel Sambucdefm real_4_real_10 : BooleanFFlag<"real-4-real-10">, Group<gfortran_Group>;
1849f4a2713aSLionel Sambucdefm real_4_real_16 : BooleanFFlag<"real-4-real-16">, Group<gfortran_Group>;
1850f4a2713aSLionel Sambucdefm real_4_real_8 : BooleanFFlag<"real-4-real-8">, Group<gfortran_Group>;
1851f4a2713aSLionel Sambucdefm real_8_real_10 : BooleanFFlag<"real-8-real-10">, Group<gfortran_Group>;
1852f4a2713aSLionel Sambucdefm real_8_real_16 : BooleanFFlag<"real-8-real-16">, Group<gfortran_Group>;
1853f4a2713aSLionel Sambucdefm real_8_real_4 : BooleanFFlag<"real-8-real-4">, Group<gfortran_Group>;
1854f4a2713aSLionel Sambucdefm realloc_lhs : BooleanFFlag<"realloc-lhs">, Group<gfortran_Group>;
1855f4a2713aSLionel Sambucdefm recursive : BooleanFFlag<"recursive">, Group<gfortran_Group>;
1856f4a2713aSLionel Sambucdefm repack_arrays : BooleanFFlag<"repack-arrays">, Group<gfortran_Group>;
1857f4a2713aSLionel Sambucdefm second_underscore : BooleanFFlag<"second-underscore">, Group<gfortran_Group>;
1858f4a2713aSLionel Sambucdefm sign_zero : BooleanFFlag<"sign-zero">, Group<gfortran_Group>;
1859f4a2713aSLionel Sambucdefm stack_arrays : BooleanFFlag<"stack-arrays">, Group<gfortran_Group>;
1860f4a2713aSLionel Sambucdefm underscoring : BooleanFFlag<"underscoring">, Group<gfortran_Group>;
1861f4a2713aSLionel Sambucdefm whole_file : BooleanFFlag<"whole-file">, Group<gfortran_Group>;
1862f4a2713aSLionel Sambuc
1863f4a2713aSLionel Sambuc
1864f4a2713aSLionel Sambucinclude "CC1Options.td"
1865f4a2713aSLionel Sambuc
1866f4a2713aSLionel Sambucinclude "CLCompatOptions.td"
1867