LEFT | RIGHT |
1 //===--- DriverOptions.td - Options for clang -----------------------------===// | 1 //===--- DriverOptions.td - Options for clang -----------------------------===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file defines the options accepted by clang. | 10 // This file defines the options accepted by clang. |
11 // | 11 // |
12 //===----------------------------------------------------------------------===// | 12 //===----------------------------------------------------------------------===// |
13 | 13 |
14 // Include the common option parsing interfaces. | 14 // Include the common option parsing interfaces. |
15 include "OptParser.td" | 15 include "OptParser.td" |
16 | 16 |
17 ///////// | 17 ///////// |
18 // Groups | 18 // Groups |
19 | 19 |
20 // Meta-group which defines | 20 // Meta-group which defines |
21 def CompileOnly_Group : OptionGroup<"<CompileOnly group>">; | 21 def CompileOnly_Group : OptionGroup<"<CompileOnly group>">; |
| 22 def Action_Group : OptionGroup<"<action group>">; |
22 | 23 |
23 def I_Group : OptionGroup<"<I group>">, Group<CompileOnly_Group>; | 24 def I_Group : OptionGroup<"<I group>">, Group<CompileOnly_Group>; |
24 def L_Group : OptionGroup<"<L group>">, Group<CompileOnly_Group>; | 25 def L_Group : OptionGroup<"<L group>">, Group<CompileOnly_Group>; |
25 def M_Group : OptionGroup<"<M group>">, Group<CompileOnly_Group>; | 26 def M_Group : OptionGroup<"<M group>">, Group<CompileOnly_Group>; |
26 def T_Group : OptionGroup<"<T group>">; | 27 def T_Group : OptionGroup<"<T group>">; |
27 def O_Group : OptionGroup<"<O group>">, Group<CompileOnly_Group>; | 28 def O_Group : OptionGroup<"<O group>">, Group<CompileOnly_Group>; |
28 def W_Group : OptionGroup<"<W group>">, Group<CompileOnly_Group>; | 29 def W_Group : OptionGroup<"<W group>">, Group<CompileOnly_Group>; |
29 def X_Group : OptionGroup<"<X group>">; | 30 def X_Group : OptionGroup<"<X group>">; |
30 def a_Group : OptionGroup<"<a group>">; | 31 def a_Group : OptionGroup<"<a group>">; |
31 def d_Group : OptionGroup<"<d group>">; | 32 def d_Group : OptionGroup<"<d group>">; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 114 |
114 def ccc_arcmt_check : Flag<"-ccc-arcmt-check">, CCCDriverOpt, | 115 def ccc_arcmt_check : Flag<"-ccc-arcmt-check">, CCCDriverOpt, |
115 HelpText<"Check for ARC migration issues that need manual handling">; | 116 HelpText<"Check for ARC migration issues that need manual handling">; |
116 def ccc_arcmt_modify : Flag<"-ccc-arcmt-modify">, CCCDriverOpt, | 117 def ccc_arcmt_modify : Flag<"-ccc-arcmt-modify">, CCCDriverOpt, |
117 HelpText<"Apply modifications to files to conform to ARC">; | 118 HelpText<"Apply modifications to files to conform to ARC">; |
118 def ccc_arrmt_check : Flag<"-ccc-arrmt-check">, Alias<ccc_arcmt_check>; | 119 def ccc_arrmt_check : Flag<"-ccc-arrmt-check">, Alias<ccc_arcmt_check>; |
119 def ccc_arrmt_modify : Flag<"-ccc-arrmt-modify">, Alias<ccc_arcmt_modify>; | 120 def ccc_arrmt_modify : Flag<"-ccc-arrmt-modify">, Alias<ccc_arcmt_modify>; |
120 def ccc_arcmt_migrate : Separate<"-ccc-arcmt-migrate">, CCCDriverOpt, | 121 def ccc_arcmt_migrate : Separate<"-ccc-arcmt-migrate">, CCCDriverOpt, |
121 HelpText<"Apply modifications and produces temporary files that conform to ARC
">; | 122 HelpText<"Apply modifications and produces temporary files that conform to ARC
">; |
122 def arcmt_migrate_report_output : Separate<"-arcmt-migrate-report-output">, | 123 def arcmt_migrate_report_output : Separate<"-arcmt-migrate-report-output">, |
123 HelpText<"Output path for the plist report">; | 124 HelpText<"Output path for the plist report">, Flags<[CC1Option]>; |
124 def arcmt_migrate_emit_arc_errors : Flag<"-arcmt-migrate-emit-errors">, | 125 def arcmt_migrate_emit_arc_errors : Flag<"-arcmt-migrate-emit-errors">, |
125 HelpText<"Emit ARC errors even if the migrator can fix them">; | 126 HelpText<"Emit ARC errors even if the migrator can fix them">, |
| 127 Flags<[CC1Option]>; |
126 | 128 |
127 def _migrate : Flag<"--migrate">, Flags<[DriverOption]>, | 129 def _migrate : Flag<"--migrate">, Flags<[DriverOption]>, |
128 HelpText<"Run the migrator">; | 130 HelpText<"Run the migrator">; |
129 def ccc_objcmt_migrate : Separate<"-ccc-objcmt-migrate">, CCCDriverOpt, | 131 def ccc_objcmt_migrate : Separate<"-ccc-objcmt-migrate">, CCCDriverOpt, |
130 HelpText<"Apply modifications and produces temporary files to migrate to " | 132 HelpText<"Apply modifications and produces temporary files to migrate to " |
131 "modern ObjC syntax">; | 133 "modern ObjC syntax">; |
132 def objcmt_migrate_literals : Flag<"-objcmt-migrate-literals">, | 134 def objcmt_migrate_literals : Flag<"-objcmt-migrate-literals">, Flags<[CC1Option
]>, |
133 HelpText<"Enable migration to modern ObjC literals">; | 135 HelpText<"Enable migration to modern ObjC literals">; |
134 def objcmt_migrate_subscripting : Flag<"-objcmt-migrate-subscripting">, | 136 def objcmt_migrate_subscripting : Flag<"-objcmt-migrate-subscripting">, Flags<[C
C1Option]>, |
135 HelpText<"Enable migration to modern ObjC subscripting">; | 137 HelpText<"Enable migration to modern ObjC subscripting">; |
136 | 138 |
137 // Make sure all other -ccc- options are rejected. | 139 // Make sure all other -ccc- options are rejected. |
138 def ccc_ : Joined<"-ccc-">, Group<ccc_Group>, Flags<[Unsupported]>; | 140 def ccc_ : Joined<"-ccc-">, Group<ccc_Group>, Flags<[Unsupported]>; |
139 | 141 |
140 // Standard Options | 142 // Standard Options |
141 | 143 |
142 def _HASH_HASH_HASH : Flag<"-###">, Flags<[DriverOption]>, | 144 def _HASH_HASH_HASH : Flag<"-###">, Flags<[DriverOption]>, |
143 HelpText<"Print the commands to run for this compilation">; | 145 HelpText<"Print the commands to run for this compilation">; |
144 // The '--' option is here for the sake of compatibility with gcc, but is· | 146 // The '--' option is here for the sake of compatibility with gcc, but is· |
145 // being ignored by the driver. | 147 // being ignored by the driver. |
146 def _DASH_DASH : Flag<"--">, Flags<[DriverOption]>; | 148 def _DASH_DASH : Flag<"--">, Flags<[DriverOption]>; |
147 def A : JoinedOrSeparate<"-A">; | 149 def A : JoinedOrSeparate<"-A">; |
148 def B : JoinedOrSeparate<"-B">; | 150 def B : JoinedOrSeparate<"-B">; |
149 def CC : Flag<"-CC">; | 151 def CC : Flag<"-CC">, Flags<[CC1Option]>; |
150 def C : Flag<"-C">; | 152 def C : Flag<"-C">, Flags<[CC1Option]>; |
151 def D : JoinedOrSeparate<"-D">, Group<CompileOnly_Group>; | 153 def D : JoinedOrSeparate<"-D">, Group<CompileOnly_Group>, Flags<[CC1Option]>; |
152 def E : Flag<"-E">, Flags<[DriverOption]>, | 154 def E : Flag<"-E">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>, |
153 HelpText<"Only run the preprocessor">; | 155 HelpText<"Only run the preprocessor">; |
154 def F : JoinedOrSeparate<"-F">, Flags<[RenderJoined]>; | 156 def F : JoinedOrSeparate<"-F">, Flags<[RenderJoined,CC1Option]>, |
| 157 HelpText<"Add directory to framework include search path">; |
155 def G : Separate<"-G">, Flags<[DriverOption]>; | 158 def G : Separate<"-G">, Flags<[DriverOption]>; |
156 def H : Flag<"-H">; | 159 def H : Flag<"-H">, Flags<[CC1Option]>, |
| 160 HelpText<"Show header includes and nesting depth">; |
157 def I_ : Flag<"-I-">, Group<I_Group>; | 161 def I_ : Flag<"-I-">, Group<I_Group>; |
158 def I : JoinedOrSeparate<"-I">, Group<I_Group>; | 162 def I : JoinedOrSeparate<"-I">, Group<I_Group>, Flags<[CC1Option]>, |
| 163 HelpText<"Add directory to include search path">; |
159 def L : JoinedOrSeparate<"-L">, Flags<[RenderJoined]>; | 164 def L : JoinedOrSeparate<"-L">, Flags<[RenderJoined]>; |
160 def MD : Flag<"-MD">, Group<M_Group>; | 165 def MD : Flag<"-MD">, Group<M_Group>; |
161 def MF : JoinedOrSeparate<"-MF">, Group<M_Group>; | 166 def MF : JoinedOrSeparate<"-MF">, Group<M_Group>; |
162 def MG : Flag<"-MG">, Group<M_Group>; | 167 def MG : Flag<"-MG">, Group<M_Group>, Flags<[CC1Option]>, |
| 168 HelpText<"Add missing headers to dependency list">; |
163 def MMD : Flag<"-MMD">, Group<M_Group>; | 169 def MMD : Flag<"-MMD">, Group<M_Group>; |
164 def MM : Flag<"-MM">, Group<M_Group>; | 170 def MM : Flag<"-MM">, Group<M_Group>; |
165 def MP : Flag<"-MP">, Group<M_Group>; | 171 def MP : Flag<"-MP">, Group<M_Group>, Flags<[CC1Option]>, |
166 def MQ : JoinedOrSeparate<"-MQ">, Group<M_Group>; | 172 HelpText<"Create phony target for each dependency (other than main file)">; |
167 def MT : JoinedOrSeparate<"-MT">, Group<M_Group>; | 173 def MQ : JoinedOrSeparate<"-MQ">, Group<M_Group>, Flags<[CC1Option]>, |
| 174 HelpText<"Specify target to quote for dependency">; |
| 175 def MT : JoinedOrSeparate<"-MT">, Group<M_Group>, Flags<[CC1Option]>, |
| 176 HelpText<"Specify target for dependency">; |
168 def Mach : Flag<"-Mach">; | 177 def Mach : Flag<"-Mach">; |
169 def M : Flag<"-M">, Group<M_Group>; | 178 def M : Flag<"-M">, Group<M_Group>; |
170 def O0 : Joined<"-O0">, Group<O_Group>; | 179 def O0 : Joined<"-O0">, Group<O_Group>, Flags<[CC1Option]>; |
171 def O4 : Joined<"-O4">, Group<O_Group>; | 180 def O4 : Joined<"-O4">, Group<O_Group>, Flags<[CC1Option]>; |
172 def ObjCXX : Flag<"-ObjC++">, Flags<[DriverOption]>, | 181 def ObjCXX : Flag<"-ObjC++">, Flags<[DriverOption]>, |
173 HelpText<"Treat source input files as Objective-C++ inputs">; | 182 HelpText<"Treat source input files as Objective-C++ inputs">; |
174 def ObjC : Flag<"-ObjC">, Flags<[DriverOption]>, | 183 def ObjC : Flag<"-ObjC">, Flags<[DriverOption]>, |
175 HelpText<"Treat source input files as Objective-C inputs">; | 184 HelpText<"Treat source input files as Objective-C inputs">; |
176 def O : Joined<"-O">, Group<O_Group>; | 185 def O : Joined<"-O">, Group<O_Group>, Flags<[CC1Option]>; |
177 def P : Flag<"-P">; | 186 def P : Flag<"-P">, Flags<[CC1Option]>, |
| 187 HelpText<"Disable linemarker output in -E mode">; |
178 def Qn : Flag<"-Qn">; | 188 def Qn : Flag<"-Qn">; |
179 def Qunused_arguments : Flag<"-Qunused-arguments">, Flags<[DriverOption]>, | 189 def Qunused_arguments : Flag<"-Qunused-arguments">, Flags<[DriverOption]>, |
180 HelpText<"Don't emit warning for unused driver arguments">; | 190 HelpText<"Don't emit warning for unused driver arguments">; |
181 def Q : Flag<"-Q">; | 191 def Q : Flag<"-Q">; |
182 def R : Flag<"-R">; | 192 def R : Flag<"-R">; |
183 def S : Flag<"-S">, Flags<[DriverOption]>, | 193 def S : Flag<"-S">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>, |
184 HelpText<"Only run preprocess and compilation steps">; | 194 HelpText<"Only run preprocess and compilation steps">; |
185 def Tbss : JoinedOrSeparate<"-Tbss">, Group<T_Group>; | 195 def Tbss : JoinedOrSeparate<"-Tbss">, Group<T_Group>; |
186 def Tdata : JoinedOrSeparate<"-Tdata">, Group<T_Group>; | 196 def Tdata : JoinedOrSeparate<"-Tdata">, Group<T_Group>; |
187 def Ttext : JoinedOrSeparate<"-Ttext">, Group<T_Group>; | 197 def Ttext : JoinedOrSeparate<"-Ttext">, Group<T_Group>; |
188 def T : JoinedOrSeparate<"-T">, Group<T_Group>; | 198 def T : JoinedOrSeparate<"-T">, Group<T_Group>; |
189 def U : JoinedOrSeparate<"-U">, Group<CompileOnly_Group>; | 199 def U : JoinedOrSeparate<"-U">, Group<CompileOnly_Group>, Flags<[CC1Option]>; |
190 def V : JoinedOrSeparate<"-V">, Flags<[DriverOption, Unsupported]>; | 200 def V : JoinedOrSeparate<"-V">, Flags<[DriverOption, Unsupported]>; |
191 def Wa_COMMA : CommaJoined<"-Wa,">, | 201 def Wa_COMMA : CommaJoined<"-Wa,">, |
192 HelpText<"Pass the comma separated arguments in <arg> to the assembler">, | 202 HelpText<"Pass the comma separated arguments in <arg> to the assembler">, |
193 MetaVarName<"<arg>">; | 203 MetaVarName<"<arg>">; |
194 def Wall : Flag<"-Wall">, Group<W_Group>; | 204 def Wall : Flag<"-Wall">, Group<W_Group>, Flags<[CC1Option]>; |
195 def Wdeprecated : Flag<"-Wdeprecated">, Group<W_Group>; | 205 def Wdeprecated : Flag<"-Wdeprecated">, Group<W_Group>, Flags<[CC1Option]>; |
196 def Wno_deprecated : Flag<"-Wno-deprecated">, Group<W_Group>; | 206 def Wno_deprecated : Flag<"-Wno-deprecated">, Group<W_Group>, Flags<[CC1Option]>
; |
197 def Wextra : Flag<"-Wextra">, Group<W_Group>; | 207 def Wextra : Flag<"-Wextra">, Group<W_Group>, Flags<[CC1Option]>; |
198 def Wl_COMMA : CommaJoined<"-Wl,">, Flags<[LinkerInput, RenderAsInput]>, | 208 def Wl_COMMA : CommaJoined<"-Wl,">, Flags<[LinkerInput, RenderAsInput]>, |
199 HelpText<"Pass the comma separated arguments in <arg> to the linker">, | 209 HelpText<"Pass the comma separated arguments in <arg> to the linker">, |
200 MetaVarName<"<arg>">; | 210 MetaVarName<"<arg>">; |
201 def Wno_nonportable_cfstrings : Joined<"-Wno-nonportable-cfstrings">, Group<W_Gr
oup>; | 211 def Wno_nonportable_cfstrings : Joined<"-Wno-nonportable-cfstrings">, Group<W_Gr
oup>, |
202 def Wnonportable_cfstrings : Joined<"-Wnonportable-cfstrings">, Group<W_Group>; | 212 Flags<[CC1Option]>; |
| 213 def Wnonportable_cfstrings : Joined<"-Wnonportable-cfstrings">, Group<W_Group>, |
| 214 Flags<[CC1Option]>; |
203 def Wp_COMMA : CommaJoined<"-Wp,">, | 215 def Wp_COMMA : CommaJoined<"-Wp,">, |
204 HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">, | 216 HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">, |
205 MetaVarName<"<arg>">; | 217 MetaVarName<"<arg>">; |
206 def Wwrite_strings : Flag<"-Wwrite-strings">, Group<W_Group>; | 218 def Wwrite_strings : Flag<"-Wwrite-strings">, Group<W_Group>, Flags<[CC1Option]>
; |
207 def Wno_write_strings : Flag<"-Wno-write-strings">, Group<W_Group>; | 219 def Wno_write_strings : Flag<"-Wno-write-strings">, Group<W_Group>, Flags<[CC1Op
tion]>; |
208 def W_Joined : Joined<"-W">, Group<W_Group>; | 220 def W_Joined : Joined<"-W">, Group<W_Group>, Flags<[CC1Option]>; |
209 def Xanalyzer : Separate<"-Xanalyzer">, | 221 def Xanalyzer : Separate<"-Xanalyzer">, |
210 HelpText<"Pass <arg> to the static analyzer">, MetaVarName<"<arg>">; | 222 HelpText<"Pass <arg> to the static analyzer">, MetaVarName<"<arg>">; |
211 def Xarch__ : JoinedAndSeparate<"-Xarch_">, Flags<[DriverOption]>; | 223 def Xarch__ : JoinedAndSeparate<"-Xarch_">, Flags<[DriverOption]>; |
212 def Xassembler : Separate<"-Xassembler">, | 224 def Xassembler : Separate<"-Xassembler">, |
213 HelpText<"Pass <arg> to the assembler">, MetaVarName<"<arg>">; | 225 HelpText<"Pass <arg> to the assembler">, MetaVarName<"<arg>">; |
214 def Xclang : Separate<"-Xclang">, | 226 def Xclang : Separate<"-Xclang">, |
215 HelpText<"Pass <arg> to the clang compiler">, MetaVarName<"<arg>">, | 227 HelpText<"Pass <arg> to the clang compiler">, MetaVarName<"<arg>">, |
216 Flags<[NoForward]>; | 228 Flags<[NoForward]>; |
217 def Xlinker : Separate<"-Xlinker">, Flags<[LinkerInput, RenderAsInput]>, | 229 def Xlinker : Separate<"-Xlinker">, Flags<[LinkerInput, RenderAsInput]>, |
218 HelpText<"Pass <arg> to the linker">, MetaVarName<"<arg>">; | 230 HelpText<"Pass <arg> to the linker">, MetaVarName<"<arg>">; |
(...skipping 13 matching lines...) Expand all Loading... |
232 def bind__at__load : Flag<"-bind_at_load">; | 244 def bind__at__load : Flag<"-bind_at_load">; |
233 def bundle__loader : Separate<"-bundle_loader">; | 245 def bundle__loader : Separate<"-bundle_loader">; |
234 def bundle : Flag<"-bundle">; | 246 def bundle : Flag<"-bundle">; |
235 def b : JoinedOrSeparate<"-b">, Flags<[Unsupported]>; | 247 def b : JoinedOrSeparate<"-b">, Flags<[Unsupported]>; |
236 def client__name : JoinedOrSeparate<"-client_name">; | 248 def client__name : JoinedOrSeparate<"-client_name">; |
237 def combine : Flag<"-combine">, Flags<[DriverOption, Unsupported]>; | 249 def combine : Flag<"-combine">, Flags<[DriverOption, Unsupported]>; |
238 def compatibility__version : JoinedOrSeparate<"-compatibility_version">; | 250 def compatibility__version : JoinedOrSeparate<"-compatibility_version">; |
239 def coverage : Flag<"-coverage">; | 251 def coverage : Flag<"-coverage">; |
240 def cpp_precomp : Flag<"-cpp-precomp">, Group<clang_ignored_f_Group>; | 252 def cpp_precomp : Flag<"-cpp-precomp">, Group<clang_ignored_f_Group>; |
241 def current__version : JoinedOrSeparate<"-current_version">; | 253 def current__version : JoinedOrSeparate<"-current_version">; |
242 def cxx_isystem : JoinedOrSeparate<"-cxx-isystem">, Group<clang_i_Group>; | 254 def cxx_isystem : JoinedOrSeparate<"-cxx-isystem">, Group<clang_i_Group>, |
| 255 HelpText<"Add directory to the C++ SYSTEM include search path">, Flags<[CC1Opt
ion]>, |
| 256 MetaVarName<"<directory>">; |
243 def c : Flag<"-c">, Flags<[DriverOption]>, | 257 def c : Flag<"-c">, Flags<[DriverOption]>, |
244 HelpText<"Only run preprocess, compile, and assemble steps">; | 258 HelpText<"Only run preprocess, compile, and assemble steps">; |
245 def dA : Flag<"-dA">, Group<d_Group>; | 259 def dA : Flag<"-dA">, Group<d_Group>; |
246 def dD : Flag<"-dD">, Group<d_Group>; | 260 def dD : Flag<"-dD">, Group<d_Group>, Flags<[CC1Option]>, |
247 def dM : Flag<"-dM">, Group<d_Group>; | 261 HelpText<"Print macro definitions in -E mode in addition to normal output">; |
| 262 def dM : Flag<"-dM">, Group<d_Group>, Flags<[CC1Option]>, |
| 263 HelpText<"Print macro definitions in -E mode instead of normal output">; |
248 def dead__strip : Flag<"-dead_strip">; | 264 def dead__strip : Flag<"-dead_strip">; |
249 def dependency_file : Separate<"-dependency-file">; | 265 def dependency_file : Separate<"-dependency-file">, Flags<[CC1Option]>, |
| 266 HelpText<"Filename (or -) to write dependency output to">; |
| 267 def dependency_dot : Separate<"-dependency-dot">, Flags<[CC1Option]>, |
| 268 HelpText<"Filename to write DOT-formatted header dependencies to">; |
250 def dumpmachine : Flag<"-dumpmachine">; | 269 def dumpmachine : Flag<"-dumpmachine">; |
251 def dumpspecs : Flag<"-dumpspecs">, Flags<[Unsupported]>; | 270 def dumpspecs : Flag<"-dumpspecs">, Flags<[Unsupported]>; |
252 def dumpversion : Flag<"-dumpversion">; | 271 def dumpversion : Flag<"-dumpversion">; |
253 def dylib__file : Separate<"-dylib_file">; | 272 def dylib__file : Separate<"-dylib_file">; |
254 def dylinker__install__name : JoinedOrSeparate<"-dylinker_install_name">; | 273 def dylinker__install__name : JoinedOrSeparate<"-dylinker_install_name">; |
255 def dylinker : Flag<"-dylinker">; | 274 def dylinker : Flag<"-dylinker">; |
256 def dynamiclib : Flag<"-dynamiclib">; | 275 def dynamiclib : Flag<"-dynamiclib">; |
257 def dynamic : Flag<"-dynamic">, Flags<[NoArgumentUnused]>; | 276 def dynamic : Flag<"-dynamic">, Flags<[NoArgumentUnused]>; |
258 def d_Flag : Flag<"-d">, Group<d_Group>; | 277 def d_Flag : Flag<"-d">, Group<d_Group>; |
259 def d_Joined : Joined<"-d">, Group<d_Group>; | 278 def d_Joined : Joined<"-d">, Group<d_Group>; |
260 def emit_ast : Flag<"-emit-ast">, | 279 def emit_ast : Flag<"-emit-ast">, |
261 HelpText<"Emit Clang AST files for source inputs">; | 280 HelpText<"Emit Clang AST files for source inputs">; |
262 def emit_llvm : Flag<"-emit-llvm">, | 281 def emit_llvm : Flag<"-emit-llvm">, Flags<[CC1Option]>, Group<Action_Group>, |
263 HelpText<"Use the LLVM representation for assembler and object files">; | 282 HelpText<"Use the LLVM representation for assembler and object files">; |
264 def exported__symbols__list : Separate<"-exported_symbols_list">; | 283 def exported__symbols__list : Separate<"-exported_symbols_list">; |
265 def e : JoinedOrSeparate<"-e">; | 284 def e : JoinedOrSeparate<"-e">; |
266 def fPIC : Flag<"-fPIC">, Group<f_Group>; | 285 def fPIC : Flag<"-fPIC">, Group<f_Group>; |
267 def fno_PIC : Flag<"-fno-PIC">, Group<f_Group>; | 286 def fno_PIC : Flag<"-fno-PIC">, Group<f_Group>; |
268 def fPIE : Flag<"-fPIE">, Group<f_Group>; | 287 def fPIE : Flag<"-fPIE">, Group<f_Group>; |
269 def fno_PIE : Flag<"-fno-PIE">, Group<f_Group>; | 288 def fno_PIE : Flag<"-fno-PIE">, Group<f_Group>; |
270 def faccess_control : Flag<"-faccess-control">, Group<f_Group>; | 289 def faccess_control : Flag<"-faccess-control">, Group<f_Group>; |
271 def fallow_unsupported : Flag<"-fallow-unsupported">, Group<f_Group>; | 290 def fallow_unsupported : Flag<"-fallow-unsupported">, Group<f_Group>; |
272 def faltivec : Flag<"-faltivec">, Group<f_Group>; | 291 def faltivec : Flag<"-faltivec">, Group<f_Group>, Flags<[CC1Option]>, |
273 def fapple_kext : Flag<"-fapple-kext">, Group<f_Group>; | 292 HelpText<"Enable AltiVec vector initializer syntax">; |
274 def fapple_pragma_pack : Flag<"-fapple-pragma-pack">, Group<f_Group>; | 293 def fapple_kext : Flag<"-fapple-kext">, Group<f_Group>, Flags<[CC1Option]>, |
275 def faddress_sanitizer : Flag<"-faddress-sanitizer">, Group<f_Group>; | 294 HelpText<"Use Apple's kernel extensions ABI">; |
276 def fno_address_sanitizer : Flag<"-fno-address-sanitizer">, Group<f_Group>; | 295 def fapple_pragma_pack : Flag<"-fapple-pragma-pack">, Group<f_Group>, Flags<[CC1
Option]>, |
277 def fthread_sanitizer : Flag<"-fthread-sanitizer">, Group<f_Group>; | 296 HelpText<"Enable Apple gcc-compatible #pragma pack handling">; |
278 def fno_thread_sanitizer : Flag<"-fno-thread-sanitizer">, Group<f_Group>; | 297 def faddress_sanitizer : Flag<"-faddress-sanitizer">, Group<f_Group>, Flags<[CC1
Option]>, |
| 298 HelpText<"Enable AddressSanitizer instrumentation (memory error detection)">; |
| 299 def fno_address_sanitizer : Flag<"-fno-address-sanitizer">, Group<f_Group>, Flag
s<[CC1Option]>; |
| 300 def fthread_sanitizer : Flag<"-fthread-sanitizer">, Group<f_Group>, Flags<[CC1Op
tion]>, |
| 301 HelpText<"Enable ThreadSanitizer instrumentation (race detection)">; |
| 302 def fno_thread_sanitizer : Flag<"-fno-thread-sanitizer">, Group<f_Group>, Flags<
[CC1Option]>; |
279 def fasm : Flag<"-fasm">, Group<f_Group>; | 303 def fasm : Flag<"-fasm">, Group<f_Group>; |
280 | 304 |
281 def fasm_blocks : Flag<"-fasm-blocks">, Group<f_Group>; | 305 def fasm_blocks : Flag<"-fasm-blocks">, Group<f_Group>; |
282 def fno_asm_blocks : Flag<"-fno-asm-blocks">, Group<f_Group>; | 306 def fno_asm_blocks : Flag<"-fno-asm-blocks">, Group<f_Group>; |
283 | 307 |
284 def fassume_sane_operator_new : Flag<"-fassume-sane-operator-new">, Group<f_Grou
p>; | 308 def fassume_sane_operator_new : Flag<"-fassume-sane-operator-new">, Group<f_Grou
p>; |
285 def fastcp : Flag<"-fastcp">, Group<f_Group>; | 309 def fastcp : Flag<"-fastcp">, Group<f_Group>; |
286 def fastf : Flag<"-fastf">, Group<f_Group>; | 310 def fastf : Flag<"-fastf">, Group<f_Group>; |
287 def fast : Flag<"-fast">, Group<f_Group>; | 311 def fast : Flag<"-fast">, Group<f_Group>; |
288 def fasynchronous_unwind_tables : Flag<"-fasynchronous-unwind-tables">, Group<f_
Group>; | 312 def fasynchronous_unwind_tables : Flag<"-fasynchronous-unwind-tables">, Group<f_
Group>; |
289 def fblocks : Flag<"-fblocks">, Group<f_Group>; | 313 def fblocks : Flag<"-fblocks">, Group<f_Group>, Flags<[CC1Option]>, |
| 314 HelpText<"Enable the 'blocks' language feature">; |
290 def fbootclasspath_EQ : Joined<"-fbootclasspath=">, Group<f_Group>; | 315 def fbootclasspath_EQ : Joined<"-fbootclasspath=">, Group<f_Group>; |
291 def fborland_extensions : Flag<"-fborland-extensions">, Group<f_Group>; | 316 def fborland_extensions : Flag<"-fborland-extensions">, Group<f_Group>, Flags<[C
C1Option]>, |
| 317 HelpText<"Accept non-standard constructs supported by the Borland compiler">; |
292 def fbuiltin_strcat : Flag<"-fbuiltin-strcat">, Group<f_Group>; | 318 def fbuiltin_strcat : Flag<"-fbuiltin-strcat">, Group<f_Group>; |
293 def fbuiltin_strcpy : Flag<"-fbuiltin-strcpy">, Group<f_Group>; | 319 def fbuiltin_strcpy : Flag<"-fbuiltin-strcpy">, Group<f_Group>; |
294 def fbuiltin : Flag<"-fbuiltin">, Group<f_Group>; | 320 def fbuiltin : Flag<"-fbuiltin">, Group<f_Group>; |
295 def fcaret_diagnostics : Flag<"-fcaret-diagnostics">, Group<f_Group>; | 321 def fcaret_diagnostics : Flag<"-fcaret-diagnostics">, Group<f_Group>; |
296 def fcatch_undefined_behavior : Flag<"-fcatch-undefined-behavior">, | 322 def fcatch_undefined_behavior : Flag<"-fcatch-undefined-behavior">, Flags<[CC1Op
tion]>, |
297 Group<f_Group>, HelpText<"Generate runtime checks for undefined behavior.">; | 323 Group<f_Group>, HelpText<"Generate runtime checks for undefined behavior.">; |
298 def fclasspath_EQ : Joined<"-fclasspath=">, Group<f_Group>; | 324 def fclasspath_EQ : Joined<"-fclasspath=">, Group<f_Group>; |
299 def fcolor_diagnostics : Flag<"-fcolor-diagnostics">, Group<f_Group>; | 325 def fcolor_diagnostics : Flag<"-fcolor-diagnostics">, Group<f_Group>, Flags<[CC1
Option]>, |
| 326 HelpText<"Use colors in diagnostics">; |
300 def fcommon : Flag<"-fcommon">, Group<f_Group>; | 327 def fcommon : Flag<"-fcommon">, Group<f_Group>; |
301 def fcompile_resource_EQ : Joined<"-fcompile-resource=">, Group<f_Group>; | 328 def fcompile_resource_EQ : Joined<"-fcompile-resource=">, Group<f_Group>; |
302 def fconstant_cfstrings : Flag<"-fconstant-cfstrings">, Group<f_Group>; | 329 def fconstant_cfstrings : Flag<"-fconstant-cfstrings">, Group<f_Group>; |
303 def fconstant_string_class_EQ : Joined<"-fconstant-string-class=">, Group<f_Grou
p>; | 330 def fconstant_string_class_EQ : Joined<"-fconstant-string-class=">, Group<f_Grou
p>; |
304 def fconstexpr_depth_EQ : Joined<"-fconstexpr-depth=">, Group<f_Group>; | 331 def fconstexpr_depth_EQ : Joined<"-fconstexpr-depth=">, Group<f_Group>; |
305 def fconstexpr_backtrace_limit_EQ : Joined<"-fconstexpr-backtrace-limit=">, | 332 def fconstexpr_backtrace_limit_EQ : Joined<"-fconstexpr-backtrace-limit=">, |
306 Group<f_Group>; | 333 Group<f_Group>; |
307 def fno_crash_diagnostics : Flag<"-fno-crash-diagnostics">, Group<f_clang_Group>
, Flags<[NoArgumentUnused]>; | 334 def fno_crash_diagnostics : Flag<"-fno-crash-diagnostics">, Group<f_clang_Group>
, Flags<[NoArgumentUnused]>; |
308 def fcreate_profile : Flag<"-fcreate-profile">, Group<f_Group>; | 335 def fcreate_profile : Flag<"-fcreate-profile">, Group<f_Group>; |
309 def fcxx_exceptions: Flag<"-fcxx-exceptions">, Group<f_Group>; | 336 def fcxx_exceptions: Flag<"-fcxx-exceptions">, Group<f_Group>, |
| 337 HelpText<"Enable C++ exceptions">, Flags<[CC1Option]>; |
310 def fcxx_modules : Flag <"-fcxx-modules">, Group<f_Group>, Flags<[NoForward]>; | 338 def fcxx_modules : Flag <"-fcxx-modules">, Group<f_Group>, Flags<[NoForward]>; |
311 def fdebug_pass_arguments : Flag<"-fdebug-pass-arguments">, Group<f_Group>; | 339 def fdebug_pass_arguments : Flag<"-fdebug-pass-arguments">, Group<f_Group>; |
312 def fdebug_pass_structure : Flag<"-fdebug-pass-structure">, Group<f_Group>; | 340 def fdebug_pass_structure : Flag<"-fdebug-pass-structure">, Group<f_Group>; |
313 def fdiagnostics_fixit_info : Flag<"-fdiagnostics-fixit-info">, Group<f_clang_Gr
oup>; | 341 def fdiagnostics_fixit_info : Flag<"-fdiagnostics-fixit-info">, Group<f_clang_Gr
oup>; |
314 def fdiagnostics_print_source_range_info : Flag<"-fdiagnostics-print-source-rang
e-info">, Group<f_clang_Group>; | 342 def fdiagnostics_parseable_fixits : Flag<"-fdiagnostics-parseable-fixits">, Grou
p<f_clang_Group>, |
315 def fdiagnostics_parseable_fixits : Flag<"-fdiagnostics-parseable-fixits">, Grou
p<f_clang_Group>; | 343 Flags<[CC1Option]>, HelpText<"Print fix-its in machine parseable form">; |
316 def fdiagnostics_show_option : Flag<"-fdiagnostics-show-option">, Group<f_Group>
; | 344 def fdiagnostics_print_source_range_info : Flag<"-fdiagnostics-print-source-rang
e-info">, |
317 def fdiagnostics_show_note_include_stack : Flag<"-fdiagnostics-show-note-include
-stack">, Group<f_Group>; | 345 Group<f_clang_Group>, Flags<[CC1Option]>, |
| 346 HelpText<"Print source range spans in numeric form">; |
| 347 def fdiagnostics_show_option : Flag<"-fdiagnostics-show-option">, Group<f_Group>
, |
| 348 Flags<[CC1Option]>, HelpText<"Print option name with mappable diagnostics">; |
| 349 def fdiagnostics_show_name : Flag<"-fdiagnostics-show-name">, Group<f_Group>, |
| 350 Flags<[CC1Option]>, HelpText<"Print diagnostic name">; |
| 351 def fdiagnostics_show_note_include_stack : Flag<"-fdiagnostics-show-note-include
-stack">, |
| 352 Group<f_Group>, Flags<[CC1Option]>, HelpText<"Display include stacks for di
agnostic notes">; |
318 def fdiagnostics_format_EQ : Joined<"-fdiagnostics-format=">, Group<f_clang_Grou
p>; | 353 def fdiagnostics_format_EQ : Joined<"-fdiagnostics-format=">, Group<f_clang_Grou
p>; |
319 def fdiagnostics_show_category_EQ : Joined<"-fdiagnostics-show-category=">, Grou
p<f_clang_Group>; | 354 def fdiagnostics_show_category_EQ : Joined<"-fdiagnostics-show-category=">, Grou
p<f_clang_Group>; |
320 def fdollars_in_identifiers : Flag<"-fdollars-in-identifiers">, Group<f_Group>; | 355 def fdollars_in_identifiers : Flag<"-fdollars-in-identifiers">, Group<f_Group>, |
| 356 HelpText<"Allow '$' in identifiers">, Flags<[CC1Option]>; |
321 def fdwarf2_cfi_asm : Flag<"-fdwarf2-cfi-asm">, Group<f_Group>; | 357 def fdwarf2_cfi_asm : Flag<"-fdwarf2-cfi-asm">, Group<f_Group>; |
322 def fno_dwarf2_cfi_asm : Flag<"-fno-dwarf2-cfi-asm">, Group<f_Group>; | 358 def fno_dwarf2_cfi_asm : Flag<"-fno-dwarf2-cfi-asm">, Group<f_Group>, Flags<[CC
1Option]>; |
323 def fdwarf_directory_asm : Flag<"-fdwarf-directory-asm">, Group<f_Group>; | 359 def fdwarf_directory_asm : Flag<"-fdwarf-directory-asm">, Group<f_Group>; |
324 def fno_dwarf_directory_asm : Flag<"-fno-dwarf-directory-asm">, Group<f_Group>; | 360 def fno_dwarf_directory_asm : Flag<"-fno-dwarf-directory-asm">, Group<f_Group>,
Flags<[CC1Option]>; |
325 def felide_constructors : Flag<"-felide-constructors">, Group<f_Group>; | 361 def felide_constructors : Flag<"-felide-constructors">, Group<f_Group>; |
326 def feliminate_unused_debug_symbols : Flag<"-feliminate-unused-debug-symbols">,
Group<f_Group>; | 362 def feliminate_unused_debug_symbols : Flag<"-feliminate-unused-debug-symbols">,
Group<f_Group>; |
327 def femit_all_decls : Flag<"-femit-all-decls">, Group<f_Group>; | 363 def femit_all_decls : Flag<"-femit-all-decls">, Group<f_Group>, Flags<[CC1Option
]>, |
| 364 HelpText<"Emit all declarations, even if unused">; |
328 def fencoding_EQ : Joined<"-fencoding=">, Group<f_Group>; | 365 def fencoding_EQ : Joined<"-fencoding=">, Group<f_Group>; |
329 def ferror_limit_EQ : Joined<"-ferror-limit=">, Group<f_Group>; | 366 def ferror_limit_EQ : Joined<"-ferror-limit=">, Group<f_Group>; |
330 def fexceptions : Flag<"-fexceptions">, Group<f_Group>; | 367 def fexceptions : Flag<"-fexceptions">, Group<f_Group>, Flags<[CC1Option]>, |
| 368 HelpText<"Enable support for exception handling">; |
331 def fextdirs_EQ : Joined<"-fextdirs=">, Group<f_Group>; | 369 def fextdirs_EQ : Joined<"-fextdirs=">, Group<f_Group>; |
332 def fhosted : Flag<"-fhosted">, Group<f_Group>; | 370 def fhosted : Flag<"-fhosted">, Group<f_Group>; |
333 def ffast_math : Flag<"-ffast-math">, Group<f_Group>; | 371 def ffast_math : Flag<"-ffast-math">, Group<f_Group>, Flags<[CC1Option]>, |
334 def fmath_errno : Flag<"-fmath-errno">, Group<f_Group>; | 372 HelpText<"Enable the *frontend*'s 'fast-math' mode. This has no effect on " |
| 373 "optimizations, but provides a preprocessor macro __FAST_MATH__ the " |
| 374 "same as GCC's -ffast-math flag.">; |
| 375 def fmath_errno : Flag<"-fmath-errno">, Group<f_Group>, Flags<[CC1Option]>, |
| 376 HelpText<"Require math functions to indicate errors by setting errno">; |
335 def fno_math_errno : Flag<"-fno-math-errno">, Group<f_Group>; | 377 def fno_math_errno : Flag<"-fno-math-errno">, Group<f_Group>; |
336 def fsignaling_math : Flag<"-fsignaling-math">, Group<f_Group>; | 378 def fsignaling_math : Flag<"-fsignaling-math">, Group<f_Group>; |
337 def fno_signaling_math : Flag<"-fno-signaling-math">, Group<f_Group>; | 379 def fno_signaling_math : Flag<"-fno-signaling-math">, Group<f_Group>; |
338 def funsafe_math_optimizations : Flag<"-funsafe-math-optimizations">, | 380 def funsafe_math_optimizations : Flag<"-funsafe-math-optimizations">, |
339 Group<f_Group>; | 381 Group<f_Group>; |
340 def fno_unsafe_math_optimizations : Flag<"-fno-unsafe-math-optimizations">, | 382 def fno_unsafe_math_optimizations : Flag<"-fno-unsafe-math-optimizations">, |
341 Group<f_Group>; | 383 Group<f_Group>; |
342 def fassociative_math : Flag<"-fassociative-math">, Group<f_Group>; | 384 def fassociative_math : Flag<"-fassociative-math">, Group<f_Group>; |
343 def fno_associative_math : Flag<"-fno-associative-math">, Group<f_Group>; | 385 def fno_associative_math : Flag<"-fno-associative-math">, Group<f_Group>; |
344 def freciprocal_math : Flag<"-freciprocal-math">, Group<f_Group>; | 386 def freciprocal_math : Flag<"-freciprocal-math">, Group<f_Group>; |
345 def fno_reciprocal_math : Flag<"-fno-reciprocal-math">, Group<f_Group>; | 387 def fno_reciprocal_math : Flag<"-fno-reciprocal-math">, Group<f_Group>; |
346 def ffinite_math_only : Flag<"-ffinite-math-only">, Group<f_Group>; | 388 def ffinite_math_only : Flag<"-ffinite-math-only">, Group<f_Group>; |
347 def fno_finite_math_only : Flag<"-fno-finite-math-only">, Group<f_Group>; | 389 def fno_finite_math_only : Flag<"-fno-finite-math-only">, Group<f_Group>; |
348 def fsigned_zeros : Flag<"-fsigned-zeros">, Group<f_Group>; | 390 def fsigned_zeros : Flag<"-fsigned-zeros">, Group<f_Group>; |
349 def fno_signed_zeros : Flag<"-fno-signed-zeros">, Group<f_Group>; | 391 def fno_signed_zeros : Flag<"-fno-signed-zeros">, Group<f_Group>; |
350 def fhonor_nans : Flag<"-fhonor-nans">, Group<f_Group>; | 392 def fhonor_nans : Flag<"-fhonor-nans">, Group<f_Group>; |
351 def fno_honor_nans : Flag<"-fno-honor-nans">, Group<f_Group>; | 393 def fno_honor_nans : Flag<"-fno-honor-nans">, Group<f_Group>; |
352 def fhonor_infinities : Flag<"-fhonor-infinities">, Group<f_Group>; | 394 def fhonor_infinities : Flag<"-fhonor-infinities">, Group<f_Group>; |
353 def fno_honor_infinities : Flag<"-fno-honor-infinities">, Group<f_Group>; | 395 def fno_honor_infinities : Flag<"-fno-honor-infinities">, Group<f_Group>; |
354 // Sic. This option was misspelled originally. | 396 // Sic. This option was misspelled originally. |
355 def fhonor_infinites : Flag<"-fhonor-infinites">, Alias<fhonor_infinities>; | 397 def fhonor_infinites : Flag<"-fhonor-infinites">, Alias<fhonor_infinities>; |
356 def fno_honor_infinites : Flag<"-fno-honor-infinites">, Alias<fno_honor_infiniti
es>; | 398 def fno_honor_infinites : Flag<"-fno-honor-infinites">, Alias<fno_honor_infiniti
es>; |
357 def ftrapping_math : Flag<"-ftrapping-math">, Group<f_Group>; | 399 def ftrapping_math : Flag<"-ftrapping-math">, Group<f_Group>; |
358 def fno_trapping_math : Flag<"-fno-trapping-math">, Group<f_Group>; | 400 def fno_trapping_math : Flag<"-fno-trapping-math">, Group<f_Group>; |
359 | 401 |
360 def ffor_scope : Flag<"-ffor-scope">, Group<f_Group>; | 402 def ffor_scope : Flag<"-ffor-scope">, Group<f_Group>; |
361 def fno_for_scope : Flag<"-fno-for-scope">, Group<f_Group>; | 403 def fno_for_scope : Flag<"-fno-for-scope">, Group<f_Group>; |
362 | 404 |
363 def ffreestanding : Flag<"-ffreestanding">, Group<f_Group>; | 405 def ffreestanding : Flag<"-ffreestanding">, Group<f_Group>, Flags<[CC1Option]>, |
364 def fgnu_keywords : Flag<"-fgnu-keywords">, Group<f_Group>; | 406 HelpText<"Assert that the compilation takes place in a freestanding environmen
t">; |
365 def fgnu89_inline : Flag<"-fgnu89-inline">, Group<f_Group>; | 407 def fgnu_keywords : Flag<"-fgnu-keywords">, Group<f_Group>, Flags<[CC1Option]>, |
| 408 HelpText<"Allow GNU-extension keywords regardless of language standard">; |
| 409 def fgnu89_inline : Flag<"-fgnu89-inline">, Group<f_Group>, Flags<[CC1Option]>, |
| 410 HelpText<"Use the gnu89 inline semantics">; |
366 def fno_gnu89_inline : Flag<"-fno-gnu89-inline">, Group<f_Group>; | 411 def fno_gnu89_inline : Flag<"-fno-gnu89-inline">, Group<f_Group>; |
367 def fgnu_runtime : Flag<"-fgnu-runtime">, Group<f_Group>; | 412 def fgnu_runtime : Flag<"-fgnu-runtime">, Group<f_Group>, Flags<[CC1Option]>, |
368 def fheinous_gnu_extensions : Flag<"-fheinous-gnu-extensions">; | 413 HelpText<"Generate output compatible with the standard GNU Objective-C runtime
">; |
| 414 def fheinous_gnu_extensions : Flag<"-fheinous-gnu-extensions">, Flags<[CC1Option
]>; |
369 def filelist : Separate<"-filelist">, Flags<[LinkerInput]>; | 415 def filelist : Separate<"-filelist">, Flags<[LinkerInput]>; |
370 def findirect_virtual_calls : Flag<"-findirect-virtual-calls">, Alias<fapple_kex
t>; | 416 def findirect_virtual_calls : Flag<"-findirect-virtual-calls">, Alias<fapple_kex
t>; |
371 def finline_functions : Flag<"-finline-functions">, Group<clang_ignored_f_Group>
; | 417 def finline_functions : Flag<"-finline-functions">, Group<clang_ignored_f_Group>
; |
372 def finline : Flag<"-finline">, Group<clang_ignored_f_Group>; | 418 def finline : Flag<"-finline">, Group<clang_ignored_f_Group>; |
373 def finstrument_functions : Flag<"-finstrument-functions">, Group<f_Group>; | 419 def finstrument_functions : Flag<"-finstrument-functions">, Group<f_Group>, Flag
s<[CC1Option]>, |
| 420 HelpText<"Generate calls to instrument function entry and exit">; |
374 def fkeep_inline_functions : Flag<"-fkeep-inline-functions">, Group<clang_ignore
d_f_Group>; | 421 def fkeep_inline_functions : Flag<"-fkeep-inline-functions">, Group<clang_ignore
d_f_Group>; |
375 def flat__namespace : Flag<"-flat_namespace">; | 422 def flat__namespace : Flag<"-flat_namespace">; |
376 def flax_vector_conversions : Flag<"-flax-vector-conversions">, Group<f_Group>; | 423 def flax_vector_conversions : Flag<"-flax-vector-conversions">, Group<f_Group>; |
377 def flimit_debug_info : Flag<"-flimit-debug-info">, Group<f_Group>, | 424 def flimit_debug_info : Flag<"-flimit-debug-info">, Group<f_Group>, Flags<[CC1Op
tion]>, |
378 HelpText<"Limit debug information produced to reduce size of debug binary">; | 425 HelpText<"Limit debug information produced to reduce size of debug binary">; |
379 def flimited_precision_EQ : Joined<"-flimited-precision=">, Group<f_Group>; | 426 def flimited_precision_EQ : Joined<"-flimited-precision=">, Group<f_Group>; |
380 def flto : Flag<"-flto">, Group<f_Group>; | 427 def flto : Flag<"-flto">, Group<f_Group>; |
381 def fno_lto : Flag<"-fno-lto">, Group<f_Group>; | 428 def fno_lto : Flag<"-fno-lto">, Group<f_Group>; |
382 def fmacro_backtrace_limit_EQ : Joined<"-fmacro-backtrace-limit=">, | 429 def fmacro_backtrace_limit_EQ : Joined<"-fmacro-backtrace-limit=">, |
383 Group<f_Group>; | 430 Group<f_Group>; |
384 def fmerge_all_constants : Flag<"-fmerge-all-constants">, Group<f_Group>; | 431 def fmerge_all_constants : Flag<"-fmerge-all-constants">, Group<f_Group>; |
385 def fmessage_length_EQ : Joined<"-fmessage-length=">, Group<f_Group>; | 432 def fmessage_length_EQ : Joined<"-fmessage-length=">, Group<f_Group>; |
386 def fms_extensions : Flag<"-fms-extensions">, Group<f_Group>; | 433 def fms_extensions : Flag<"-fms-extensions">, Group<f_Group>, Flags<[CC1Option]>
, |
387 def fms_compatibility : Flag<"-fms-compatibility">, Group<f_Group>; | 434 HelpText<"Accept some non-standard constructs supported by the Microsoft compi
ler">; |
388 def fmsc_version : Joined<"-fmsc-version=">, Group<f_Group>; | 435 def fms_compatibility : Flag<"-fms-compatibility">, Group<f_Group>, Flags<[CC1Op
tion]>, |
389 def fdelayed_template_parsing : Flag<"-fdelayed-template-parsing">, Group<f_Grou
p>; | 436 HelpText<"Enable Microsoft compatibility mode">; |
| 437 def fmsc_version : Joined<"-fmsc-version=">, Group<f_Group>, Flags<[CC1Option]>, |
| 438 HelpText<"Version of the Microsoft C/C++ compiler to report in _MSC_VER (0 = d
on't define it (default))">; |
| 439 def fdelayed_template_parsing : Flag<"-fdelayed-template-parsing">, Group<f_Grou
p>, |
| 440 HelpText<"Parse templated function definitions at the end of the " |
| 441 "translation unit ">, Flags<[CC1Option]>; |
390 def fmodule_cache_path : Separate<"-fmodule-cache-path">, Group<i_Group>,· | 442 def fmodule_cache_path : Separate<"-fmodule-cache-path">, Group<i_Group>,· |
391 Flags<[NoForward]>; | 443 Flags<[NoForward,CC1Option]>, MetaVarName<"<directory>">, |
392 def fmodules : Flag <"-fmodules">, Group<f_Group>, Flags<[NoForward]>; | 444 HelpText<"Specify the module cache path">; |
| 445 def fmodules : Flag <"-fmodules">, Group<f_Group>, Flags<[NoForward,CC1Option]>, |
| 446 HelpText<"Enable the 'modules' language feature">; |
393 ·· | 447 ·· |
394 def fmudflapth : Flag<"-fmudflapth">, Group<f_Group>; | 448 def fmudflapth : Flag<"-fmudflapth">, Group<f_Group>; |
395 def fmudflap : Flag<"-fmudflap">, Group<f_Group>; | 449 def fmudflap : Flag<"-fmudflap">, Group<f_Group>; |
396 def fnested_functions : Flag<"-fnested-functions">, Group<f_Group>; | 450 def fnested_functions : Flag<"-fnested-functions">, Group<f_Group>; |
397 def fnext_runtime : Flag<"-fnext-runtime">, Group<f_Group>; | 451 def fnext_runtime : Flag<"-fnext-runtime">, Group<f_Group>; |
398 def fno_access_control : Flag<"-fno-access-control">, Group<f_Group>; | 452 def fno_access_control : Flag<"-fno-access-control">, Group<f_Group>, Flags<[CC1
Option]>, |
| 453 HelpText<"Disable C++ access control">; |
399 def fno_apple_pragma_pack : Flag<"-fno-apple-pragma-pack">, Group<f_Group>; | 454 def fno_apple_pragma_pack : Flag<"-fno-apple-pragma-pack">, Group<f_Group>; |
400 def fno_asm : Flag<"-fno-asm">, Group<f_Group>; | 455 def fno_asm : Flag<"-fno-asm">, Group<f_Group>; |
401 def fno_asynchronous_unwind_tables : Flag<"-fno-asynchronous-unwind-tables">, Gr
oup<f_Group>; | 456 def fno_asynchronous_unwind_tables : Flag<"-fno-asynchronous-unwind-tables">, Gr
oup<f_Group>; |
402 def fno_assume_sane_operator_new : Flag<"-fno-assume-sane-operator-new">, Group<
f_Group>; | 457 def fno_assume_sane_operator_new : Flag<"-fno-assume-sane-operator-new">, Group<
f_Group>, |
| 458 HelpText<"Don't assume that C++'s global operator new can't alias any pointer"
>, |
| 459 Flags<[CC1Option]>; |
403 def fno_blocks : Flag<"-fno-blocks">, Group<f_Group>; | 460 def fno_blocks : Flag<"-fno-blocks">, Group<f_Group>; |
404 def fno_borland_extensions : Flag<"-fno-borland-extensions">, Group<f_Group>; | 461 def fno_borland_extensions : Flag<"-fno-borland-extensions">, Group<f_Group>; |
405 def fno_builtin_strcat : Flag<"-fno-builtin-strcat">, Group<f_Group>; | 462 def fno_builtin_strcat : Flag<"-fno-builtin-strcat">, Group<f_Group>; |
406 def fno_builtin_strcpy : Flag<"-fno-builtin-strcpy">, Group<f_Group>; | 463 def fno_builtin_strcpy : Flag<"-fno-builtin-strcpy">, Group<f_Group>; |
407 def fno_builtin : Flag<"-fno-builtin">, Group<f_Group>; | 464 def fno_builtin : Flag<"-fno-builtin">, Group<f_Group>, Flags<[CC1Option]>, |
408 def fno_caret_diagnostics : Flag<"-fno-caret-diagnostics">, Group<f_Group>; | 465 HelpText<"Disable implicit builtin knowledge of functions">; |
| 466 def fno_caret_diagnostics : Flag<"-fno-caret-diagnostics">, Group<f_Group>, |
| 467 Flags<[CC1Option]>; |
409 def fno_color_diagnostics : Flag<"-fno-color-diagnostics">, Group<f_Group>; | 468 def fno_color_diagnostics : Flag<"-fno-color-diagnostics">, Group<f_Group>; |
410 def fno_common : Flag<"-fno-common">, Group<f_Group>; | 469 def fno_common : Flag<"-fno-common">, Group<f_Group>, Flags<[CC1Option]>, |
411 def fno_constant_cfstrings : Flag<"-fno-constant-cfstrings">, Group<f_Group>; | 470 HelpText<"Compile common globals like normal definitions">; |
| 471 def fno_constant_cfstrings : Flag<"-fno-constant-cfstrings">, Group<f_Group>, |
| 472 Flags<[CC1Option]>, |
| 473 HelpText<"Disable creation of CodeFoundation-type constant strings">; |
412 def fno_cxx_exceptions: Flag<"-fno-cxx-exceptions">, Group<f_Group>; | 474 def fno_cxx_exceptions: Flag<"-fno-cxx-exceptions">, Group<f_Group>; |
413 def fno_cxx_modules : Flag <"-fno-cxx-modules">, Group<f_Group>, Flags<[NoForwar
d]>; | 475 def fno_cxx_modules : Flag <"-fno-cxx-modules">, Group<f_Group>, Flags<[NoForwar
d]>; |
414 def fno_diagnostics_fixit_info : Flag<"-fno-diagnostics-fixit-info">, Group<f_Gr
oup>; | 476 def fno_diagnostics_fixit_info : Flag<"-fno-diagnostics-fixit-info">, Group<f_Gr
oup>, |
| 477 Flags<[CC1Option]>, HelpText<"Do not include fixit information in diagnostics"
>; |
| 478 def fno_diagnostics_show_name : Flag<"-fno-diagnostics-show-name">, Group<f_Grou
p>; |
415 def fno_diagnostics_show_option : Flag<"-fno-diagnostics-show-option">, Group<f_
Group>; | 479 def fno_diagnostics_show_option : Flag<"-fno-diagnostics-show-option">, Group<f_
Group>; |
416 def fno_diagnostics_show_note_include_stack : Flag<"-fno-diagnostics-show-note-i
nclude-stack">, Group<f_Group>; | 480 def fno_diagnostics_show_note_include_stack : Flag<"-fno-diagnostics-show-note-i
nclude-stack">, |
417 def fno_dollars_in_identifiers : Flag<"-fno-dollars-in-identifiers">, Group<f_Gr
oup>; | 481 Flags<[CC1Option]>, Group<f_Group>, HelpText<"Display include stacks for dia
gnostic notes">; |
418 def fno_elide_constructors : Flag<"-fno-elide-constructors">, Group<f_Group>; | 482 def fno_dollars_in_identifiers : Flag<"-fno-dollars-in-identifiers">, Group<f_Gr
oup>, |
| 483 HelpText<"Disallow '$' in identifiers">, Flags<[CC1Option]>; |
| 484 def fno_elide_constructors : Flag<"-fno-elide-constructors">, Group<f_Group>, |
| 485 HelpText<"Disable C++ copy constructor elision">, Flags<[CC1Option]>; |
419 def fno_eliminate_unused_debug_symbols : Flag<"-fno-eliminate-unused-debug-symbo
ls">, Group<f_Group>; | 486 def fno_eliminate_unused_debug_symbols : Flag<"-fno-eliminate-unused-debug-symbo
ls">, Group<f_Group>; |
420 def fno_exceptions : Flag<"-fno-exceptions">, Group<f_Group>; | 487 def fno_exceptions : Flag<"-fno-exceptions">, Group<f_Group>; |
421 def fno_gnu_keywords : Flag<"-fno-gnu-keywords">, Group<f_Group>; | 488 def fno_gnu_keywords : Flag<"-fno-gnu-keywords">, Group<f_Group>, Flags<[CC1Opti
on]>; |
422 def fno_inline_functions : Flag<"-fno-inline-functions">, Group<f_Group>; | 489 def fno_inline_functions : Flag<"-fno-inline-functions">, Group<f_clang_Group>,
Flags<[CC1Option]>; |
423 def fno_inline : Flag<"-fno-inline">, Group<f_Group>; | 490 def fno_inline : Flag<"-fno-inline">, Group<f_clang_Group>, Flags<[CC1Option]>; |
424 def fno_keep_inline_functions : Flag<"-fno-keep-inline-functions">, Group<clang_
ignored_f_Group>; | 491 def fno_keep_inline_functions : Flag<"-fno-keep-inline-functions">, Group<clang_
ignored_f_Group>; |
425 def fno_lax_vector_conversions : Flag<"-fno-lax-vector-conversions">, Group<f_Gr
oup>; | 492 def fno_lax_vector_conversions : Flag<"-fno-lax-vector-conversions">, Group<f_Gr
oup>, |
426 def fno_limit_debug_info : Flag<"-fno-limit-debug-info">, Group<f_Group>, | 493 HelpText<"Disallow implicit conversions between vectors with a different numbe
r of elements or different element types">, Flags<[CC1Option]>; |
| 494 def fno_limit_debug_info : Flag<"-fno-limit-debug-info">, Group<f_Group>, Flags<
[CC1Option]>, |
427 HelpText<"Do not limit debug information produced to reduce size of debug bina
ry">; | 495 HelpText<"Do not limit debug information produced to reduce size of debug bina
ry">; |
428 def fno_merge_all_constants : Flag<"-fno-merge-all-constants">, Group<f_Group>; | 496 def fno_merge_all_constants : Flag<"-fno-merge-all-constants">, Group<f_Group>, |
| 497 Flags<[CC1Option]>, HelpText<"Disallow merging of constants.">; |
429 def fno_modules : Flag <"-fno-modules">, Group<f_Group>, Flags<[NoForward]>; | 498 def fno_modules : Flag <"-fno-modules">, Group<f_Group>, Flags<[NoForward]>; |
430 def fno_ms_extensions : Flag<"-fno-ms-extensions">, Group<f_Group>; | 499 def fno_ms_extensions : Flag<"-fno-ms-extensions">, Group<f_Group>; |
431 def fno_ms_compatibility : Flag<"-fno-ms-compatibility">, Group<f_Group>; | 500 def fno_ms_compatibility : Flag<"-fno-ms-compatibility">, Group<f_Group>; |
432 def fno_delayed_template_parsing : Flag<"-fno-delayed-template-parsing">, Group<
f_Group>; | 501 def fno_delayed_template_parsing : Flag<"-fno-delayed-template-parsing">, Group<
f_Group>; |
433 def fno_objc_exceptions: Flag<"-fno-objc-exceptions">, Group<f_Group>; | 502 def fno_objc_exceptions: Flag<"-fno-objc-exceptions">, Group<f_Group>; |
434 def fno_objc_legacy_dispatch : Flag<"-fno-objc-legacy-dispatch">, Group<f_Group>
; | 503 def fno_objc_legacy_dispatch : Flag<"-fno-objc-legacy-dispatch">, Group<f_Group>
; |
435 def fno_omit_frame_pointer : Flag<"-fno-omit-frame-pointer">, Group<f_Group>; | 504 def fno_omit_frame_pointer : Flag<"-fno-omit-frame-pointer">, Group<f_Group>; |
436 def fno_operator_names : Flag<"-fno-operator-names">, Group<f_Group>; | 505 def fno_operator_names : Flag<"-fno-operator-names">, Group<f_Group>, |
| 506 HelpText<"Do not treat C++ operator name keywords as synonyms for operators">, |
| 507 Flags<[CC1Option]>; |
437 def fno_pascal_strings : Flag<"-fno-pascal-strings">, Group<f_Group>; | 508 def fno_pascal_strings : Flag<"-fno-pascal-strings">, Group<f_Group>; |
438 def fno_rtti : Flag<"-fno-rtti">, Group<f_Group>; | 509 def fno_rtti : Flag<"-fno-rtti">, Group<f_Group>, Flags<[CC1Option]>, |
| 510 HelpText<"Disable generation of rtti information">; |
439 def fno_short_enums : Flag<"-fno-short-enums">, Group<f_Group>; | 511 def fno_short_enums : Flag<"-fno-short-enums">, Group<f_Group>; |
440 def fno_show_column : Flag<"-fno-show-column">, Group<f_Group>; | 512 def fno_show_column : Flag<"-fno-show-column">, Group<f_Group>, Flags<[CC1Option
]>, |
441 def fno_show_source_location : Flag<"-fno-show-source-location">, Group<f_Group>
; | 513 HelpText<"Do not include column number on diagnostics">; |
442 def fno_spell_checking : Flag<"-fno-spell-checking">, Group<f_Group>; | 514 def fno_show_source_location : Flag<"-fno-show-source-location">, Group<f_Group>
, |
| 515 Flags<[CC1Option]>, HelpText<"Do not include source location information with
diagnostics">; |
| 516 def fno_spell_checking : Flag<"-fno-spell-checking">, Group<f_Group>, |
| 517 Flags<[CC1Option]>, HelpText<"Disable spell-checking">; |
443 def fno_stack_protector : Flag<"-fno-stack-protector">, Group<f_Group>; | 518 def fno_stack_protector : Flag<"-fno-stack-protector">, Group<f_Group>; |
444 def fno_strict_aliasing : Flag<"-fno-strict-aliasing">, Group<f_Group>; | 519 def fno_strict_aliasing : Flag<"-fno-strict-aliasing">, Group<f_Group>; |
445 def fno_strict_enums : Flag<"-fno-strict-enums">, Group<f_Group>; | 520 def fno_strict_enums : Flag<"-fno-strict-enums">, Group<f_Group>; |
446 def fno_strict_overflow : Flag<"-fno-strict-overflow">, Group<f_Group>; | 521 def fno_strict_overflow : Flag<"-fno-strict-overflow">, Group<f_Group>; |
447 def fno_threadsafe_statics : Flag<"-fno-threadsafe-statics">, Group<f_Group>; | 522 def fno_threadsafe_statics : Flag<"-fno-threadsafe-statics">, Group<f_Group>, |
448 def fno_use_cxa_atexit : Flag<"-fno-use-cxa-atexit">, Group<f_Group>; | 523 Flags<[CC1Option]>, HelpText<"Do not emit code to make initialization of local
statics thread safe">; |
| 524 def fno_use_cxa_atexit : Flag<"-fno-use-cxa-atexit">, Group<f_Group>, Flags<[CC1
Option]>, |
| 525 HelpText<"Don't use __cxa_atexit for calling destructors">; |
449 def fno_unit_at_a_time : Flag<"-fno-unit-at-a-time">, Group<f_Group>; | 526 def fno_unit_at_a_time : Flag<"-fno-unit-at-a-time">, Group<f_Group>; |
450 def fno_unwind_tables : Flag<"-fno-unwind-tables">, Group<f_Group>; | 527 def fno_unwind_tables : Flag<"-fno-unwind-tables">, Group<f_Group>; |
451 def fno_verbose_asm : Flag<"-fno-verbose-asm">, Group<f_Group>; | 528 def fno_verbose_asm : Flag<"-fno-verbose-asm">, Group<f_Group>; |
452 def fno_working_directory : Flag<"-fno-working-directory">, Group<f_Group>; | 529 def fno_working_directory : Flag<"-fno-working-directory">, Group<f_Group>; |
453 def fno_wrapv : Flag<"-fno-wrapv">, Group<f_Group>; | 530 def fno_wrapv : Flag<"-fno-wrapv">, Group<f_Group>; |
454 def fno_zero_initialized_in_bss : Flag<"-fno-zero-initialized-in-bss">, Group<f_
Group>; | 531 def fno_zero_initialized_in_bss : Flag<"-fno-zero-initialized-in-bss">, Group<f_
Group>; |
455 def fobjc_arc : Flag<"-fobjc-arc">, Group<f_Group>; | 532 def fobjc_arc : Flag<"-fobjc-arc">, Group<f_Group>, Flags<[CC1Option]>, |
| 533 HelpText<"Synthesize retain and release calls for Objective-C pointers">; |
456 def fno_objc_arc : Flag<"-fno-objc-arc">, Group<f_Group>; | 534 def fno_objc_arc : Flag<"-fno-objc-arc">, Group<f_Group>; |
457 def fobjc_arc_exceptions : Flag<"-fobjc-arc-exceptions">, Group<f_Group>; | 535 def fobjc_arc_exceptions : Flag<"-fobjc-arc-exceptions">, Group<f_Group>, Flags<
[CC1Option]>, |
| 536 HelpText<"Use EH-safe code when synthesizing retains and releases in -fobjc-ar
c">; |
458 def fno_objc_arc_exceptions : Flag<"-fno-objc-arc-exceptions">, Group<f_Group>; | 537 def fno_objc_arc_exceptions : Flag<"-fno-objc-arc-exceptions">, Group<f_Group>; |
459 def fobjc_atdefs : Flag<"-fobjc-atdefs">, Group<clang_ignored_f_Group>; | 538 def fobjc_atdefs : Flag<"-fobjc-atdefs">, Group<clang_ignored_f_Group>; |
460 def fobjc_call_cxx_cdtors : Flag<"-fobjc-call-cxx-cdtors">, Group<clang_ignored_
f_Group>; | 539 def fobjc_call_cxx_cdtors : Flag<"-fobjc-call-cxx-cdtors">, Group<clang_ignored_
f_Group>; |
461 def fobjc_exceptions: Flag<"-fobjc-exceptions">, Group<f_Group>; | 540 def fobjc_exceptions: Flag<"-fobjc-exceptions">, Group<f_Group>, |
462 | 541 HelpText<"Enable Objective-C exceptions">, Flags<[CC1Option]>; |
463 def fobjc_gc_only : Flag<"-fobjc-gc-only">, Group<f_Group>; | 542 |
464 def fobjc_gc : Flag<"-fobjc-gc">, Group<f_Group>; | 543 def fobjc_gc_only : Flag<"-fobjc-gc-only">, Group<f_Group>, Flags<[CC1Option]>, |
| 544 HelpText<"Use GC exclusively for Objective-C related memory management">; |
| 545 def fobjc_gc : Flag<"-fobjc-gc">, Group<f_Group>, Flags<[CC1Option]>, |
| 546 HelpText<"Enable Objective-C garbage collection">; |
465 def fobjc_legacy_dispatch : Flag<"-fobjc-legacy-dispatch">, Group<f_Group>; | 547 def fobjc_legacy_dispatch : Flag<"-fobjc-legacy-dispatch">, Group<f_Group>; |
466 def fobjc_new_property : Flag<"-fobjc-new-property">, Group<clang_ignored_f_Grou
p>; | 548 def fobjc_new_property : Flag<"-fobjc-new-property">, Group<clang_ignored_f_Grou
p>; |
467 def fobjc_infer_related_result_type : Flag<"-fobjc-infer-related-result-type">,· | 549 def fobjc_infer_related_result_type : Flag<"-fobjc-infer-related-result-type">,· |
468 Group<f_Group>; | 550 Group<f_Group>; |
469 def fno_objc_infer_related_result_type : Flag< | 551 def fno_objc_infer_related_result_type : Flag< |
470 "-fno-objc-infer-related-result-type">, Group<f_Group>; | 552 "-fno-objc-infer-related-result-type">, Group<f_Group>, |
| 553 HelpText< |
| 554 "do not infer Objective-C related result type based on method family">, |
| 555 Flags<[CC1Option]>; |
471 def fobjc_link_runtime: Flag<"-fobjc-link-runtime">, Group<f_Group>; | 556 def fobjc_link_runtime: Flag<"-fobjc-link-runtime">, Group<f_Group>; |
472 | 557 |
473 // Objective-C ABI options. | 558 // Objective-C ABI options. |
474 def fobjc_abi_version_EQ : Joined<"-fobjc-abi-version=">, Group<f_Group>; | 559 def fobjc_abi_version_EQ : Joined<"-fobjc-abi-version=">, Group<f_Group>; |
475 def fobjc_nonfragile_abi_version_EQ : Joined<"-fobjc-nonfragile-abi-version=">,
Group<f_Group>; | 560 def fobjc_nonfragile_abi_version_EQ : Joined<"-fobjc-nonfragile-abi-version=">,
Group<f_Group>; |
476 def fobjc_nonfragile_abi : Flag<"-fobjc-nonfragile-abi">, Group<f_Group>; | 561 def fobjc_nonfragile_abi : Flag<"-fobjc-nonfragile-abi">, Group<f_Group>; |
477 def fno_objc_nonfragile_abi : Flag<"-fno-objc-nonfragile-abi">, Group<f_Group>; | 562 def fno_objc_nonfragile_abi : Flag<"-fno-objc-nonfragile-abi">, Group<f_Group>; |
478 | 563 |
479 def fobjc_sender_dependent_dispatch : Flag<"-fobjc-sender-dependent-dispatch">,
Group<f_Group>; | 564 def fobjc_sender_dependent_dispatch : Flag<"-fobjc-sender-dependent-dispatch">,
Group<f_Group>; |
480 def fobjc : Flag<"-fobjc">, Group<f_Group>; | 565 def fobjc : Flag<"-fobjc">, Group<f_Group>; |
481 def fomit_frame_pointer : Flag<"-fomit-frame-pointer">, Group<f_Group>; | 566 def fomit_frame_pointer : Flag<"-fomit-frame-pointer">, Group<f_Group>; |
482 def fopenmp : Flag<"-fopenmp">, Group<f_Group>; | 567 def fopenmp : Flag<"-fopenmp">, Group<f_Group>; |
483 def fno_optimize_sibling_calls : Flag<"-fno-optimize-sibling-calls">, Group<f_Gr
oup>; | 568 def fno_optimize_sibling_calls : Flag<"-fno-optimize-sibling-calls">, Group<f_Gr
oup>; |
484 def foptimize_sibling_calls : Flag<"-foptimize-sibling-calls">, Group<f_Group>; | 569 def foptimize_sibling_calls : Flag<"-foptimize-sibling-calls">, Group<f_Group>; |
485 def force__cpusubtype__ALL : Flag<"-force_cpusubtype_ALL">; | 570 def force__cpusubtype__ALL : Flag<"-force_cpusubtype_ALL">; |
486 def force__flat__namespace : Flag<"-force_flat_namespace">; | 571 def force__flat__namespace : Flag<"-force_flat_namespace">; |
487 def force__load : Separate<"-force_load">; | 572 def force__load : Separate<"-force_load">; |
488 def foutput_class_dir_EQ : Joined<"-foutput-class-dir=">, Group<f_Group>; | 573 def foutput_class_dir_EQ : Joined<"-foutput-class-dir=">, Group<f_Group>; |
489 def fpack_struct : Flag<"-fpack-struct">, Group<f_Group>; | 574 def fpack_struct : Flag<"-fpack-struct">, Group<f_Group>; |
490 def fno_pack_struct : Flag<"-fno-pack-struct">, Group<f_Group>; | 575 def fno_pack_struct : Flag<"-fno-pack-struct">, Group<f_Group>; |
491 def fpack_struct_EQ : Joined<"-fpack-struct=">, Group<f_Group>; | 576 def fpack_struct_EQ : Joined<"-fpack-struct=">, Group<f_Group>, Flags<[CC1Option
]>, |
492 def fpascal_strings : Flag<"-fpascal-strings">, Group<f_Group>; | 577 HelpText<"Specify the default maximum struct packing alignment">; |
| 578 def fpascal_strings : Flag<"-fpascal-strings">, Group<f_Group>, Flags<[CC1Option
]>, |
| 579 HelpText<"Recognize and construct Pascal-style string literals">; |
493 def fpch_preprocess : Flag<"-fpch-preprocess">, Group<f_Group>; | 580 def fpch_preprocess : Flag<"-fpch-preprocess">, Group<f_Group>; |
494 def fpic : Flag<"-fpic">, Group<f_Group>; | 581 def fpic : Flag<"-fpic">, Group<f_Group>; |
495 def fno_pic : Flag<"-fno-pic">, Group<f_Group>; | 582 def fno_pic : Flag<"-fno-pic">, Group<f_Group>; |
496 def fpie : Flag<"-fpie">, Group<f_Group>; | 583 def fpie : Flag<"-fpie">, Group<f_Group>; |
497 def fno_pie : Flag<"-fno-pie">, Group<f_Group>; | 584 def fno_pie : Flag<"-fno-pie">, Group<f_Group>; |
498 def fprofile_arcs : Flag<"-fprofile-arcs">, Group<f_Group>; | 585 def fprofile_arcs : Flag<"-fprofile-arcs">, Group<f_Group>; |
499 def fprofile_generate : Flag<"-fprofile-generate">, Group<f_Group>; | 586 def fprofile_generate : Flag<"-fprofile-generate">, Group<f_Group>; |
500 def framework : Separate<"-framework">, Flags<[LinkerInput]>; | 587 def framework : Separate<"-framework">, Flags<[LinkerInput]>; |
501 def frandom_seed_EQ : Joined<"-frandom-seed=">, Group<clang_ignored_f_Group>; | 588 def frandom_seed_EQ : Joined<"-frandom-seed=">, Group<clang_ignored_f_Group>; |
502 def frtti : Flag<"-frtti">, Group<f_Group>; | 589 def frtti : Flag<"-frtti">, Group<f_Group>; |
503 def fsched_interblock : Flag<"-fsched-interblock">, Group<clang_ignored_f_Group>
; | 590 def fsched_interblock : Flag<"-fsched-interblock">, Group<clang_ignored_f_Group>
; |
504 def fshort_enums : Flag<"-fshort-enums">, Group<f_Group>; | 591 def fshort_enums : Flag<"-fshort-enums">, Group<f_Group>, Flags<[CC1Option]>, |
| 592 HelpText<"Allocate to an enum type only as many bytes as it needs for the decl
ared range of possible values">; |
505 def freorder_blocks : Flag<"-freorder-blocks">, Group<clang_ignored_f_Group>; | 593 def freorder_blocks : Flag<"-freorder-blocks">, Group<clang_ignored_f_Group>; |
506 def fshort_wchar : Flag<"-fshort-wchar">, Group<f_Group>; | 594 def fshort_wchar : Flag<"-fshort-wchar">, Group<f_Group>, Flags<[CC1Option]>, |
507 def fshow_overloads_EQ : Joined<"-fshow-overloads=">, Group<f_Group>; | 595 HelpText<"Force wchar_t to be a short unsigned int">; |
508 def fshow_column : Flag<"-fshow-column">, Group<f_Group>; | 596 def fshow_overloads_EQ : Joined<"-fshow-overloads=">, Group<f_Group>, Flags<[CC1
Option]>, |
| 597 HelpText<"Which overload candidates to show when overload resolution fails: " |
| 598 "best|all; defaults to all">; |
| 599 def fshow_column : Flag<"-fshow-column">, Group<f_Group>, Flags<[CC1Option]>; |
509 def fshow_source_location : Flag<"-fshow-source-location">, Group<f_Group>; | 600 def fshow_source_location : Flag<"-fshow-source-location">, Group<f_Group>; |
510 def fspell_checking : Flag<"-fspell-checking">, Group<f_Group>; | 601 def fspell_checking : Flag<"-fspell-checking">, Group<f_Group>; |
511 def fsigned_bitfields : Flag<"-fsigned-bitfields">, Group<f_Group>; | 602 def fsigned_bitfields : Flag<"-fsigned-bitfields">, Group<f_Group>; |
512 def fsigned_char : Flag<"-fsigned-char">, Group<f_Group>; | 603 def fsigned_char : Flag<"-fsigned-char">, Group<f_Group>; |
513 def fstack_protector_all : Flag<"-fstack-protector-all">, Group<f_Group>; | 604 def fstack_protector_all : Flag<"-fstack-protector-all">, Group<f_Group>; |
514 def fstack_protector : Flag<"-fstack-protector">, Group<f_Group>; | 605 def fstack_protector : Flag<"-fstack-protector">, Group<f_Group>; |
515 def fstrict_aliasing : Flag<"-fstrict-aliasing">, Group<f_Group>; | 606 def fstrict_aliasing : Flag<"-fstrict-aliasing">, Group<f_Group>; |
516 def fstrict_enums : Flag<"-fstrict-enums">, Group<f_Group>; | 607 def fstrict_enums : Flag<"-fstrict-enums">, Group<f_Group>, Flags<[CC1Option]>, |
| 608 HelpText<"Enable optimizations based on the strict definition of an enum's " |
| 609 "value range.">; |
517 def fstrict_overflow : Flag<"-fstrict-overflow">, Group<f_Group>; | 610 def fstrict_overflow : Flag<"-fstrict-overflow">, Group<f_Group>; |
518 def fsyntax_only : Flag<"-fsyntax-only">, Flags<[DriverOption]>; | 611 def fsyntax_only : Flag<"-fsyntax-only">, Flags<[DriverOption,CC1Option]>, Group
<Action_Group>; |
519 def ftabstop_EQ : Joined<"-ftabstop=">, Group<f_Group>; | 612 def ftabstop_EQ : Joined<"-ftabstop=">, Group<f_Group>; |
520 def ftemplate_depth_EQ : Joined<"-ftemplate-depth=">, Group<f_Group>; | 613 def ftemplate_depth_EQ : Joined<"-ftemplate-depth=">, Group<f_Group>; |
521 def ftemplate_depth_ : Joined<"-ftemplate-depth-">, Group<f_Group>; | 614 def ftemplate_depth_ : Joined<"-ftemplate-depth-">, Group<f_Group>; |
522 def ftemplate_backtrace_limit_EQ : Joined<"-ftemplate-backtrace-limit=">, | 615 def ftemplate_backtrace_limit_EQ : Joined<"-ftemplate-backtrace-limit=">, |
523 Group<f_Group>; | 616 Group<f_Group>; |
524 def ftest_coverage : Flag<"-ftest-coverage">, Group<f_Group>; | 617 def ftest_coverage : Flag<"-ftest-coverage">, Group<f_Group>; |
525 def Wlarge_by_value_copy_def : Flag<"-Wlarge-by-value-copy">; | 618 def Wlarge_by_value_copy_def : Flag<"-Wlarge-by-value-copy">, |
526 def Wlarge_by_value_copy_EQ : Joined<"-Wlarge-by-value-copy=">; | 619 HelpText<"Warn if a function definition returns or accepts an object larger " |
| 620 "in bytes that a given value">; |
| 621 def Wlarge_by_value_copy_EQ : Joined<"-Wlarge-by-value-copy=">, Flags<[CC1Option
]>; |
527 | 622 |
528 // Just silence warnings about -Wlarger-than, -Wframe-larger-than for now. | 623 // Just silence warnings about -Wlarger-than, -Wframe-larger-than for now. |
529 def Wlarger_than : Separate<"-Wlarger-than">, Group<clang_ignored_f_Group>; | 624 def Wlarger_than : Separate<"-Wlarger-than">, Group<clang_ignored_f_Group>; |
530 def Wlarger_than_EQ : Joined<"-Wlarger-than=">, Alias<Wlarger_than>; | 625 def Wlarger_than_EQ : Joined<"-Wlarger-than=">, Alias<Wlarger_than>; |
531 def Wlarger_than_ : Joined<"-Wlarger-than-">, Alias<Wlarger_than>; | 626 def Wlarger_than_ : Joined<"-Wlarger-than-">, Alias<Wlarger_than>; |
532 def Wframe_larger_than : Separate<"-Wframe-larger-than">, Group<clang_ignored_f_
Group>; | 627 def Wframe_larger_than : Separate<"-Wframe-larger-than">, Group<clang_ignored_f_
Group>; |
533 def Wframe_larger_than_EQ : Joined<"-Wframe-larger-than=">, Alias<Wframe_larger_
than>; | 628 def Wframe_larger_than_EQ : Joined<"-Wframe-larger-than=">, Alias<Wframe_larger_
than>; |
534 | 629 |
535 def fterminated_vtables : Flag<"-fterminated-vtables">, Alias<fapple_kext>; | 630 def fterminated_vtables : Flag<"-fterminated-vtables">, Alias<fapple_kext>; |
536 def fthreadsafe_statics : Flag<"-fthreadsafe-statics">, Group<f_Group>; | 631 def fthreadsafe_statics : Flag<"-fthreadsafe-statics">, Group<f_Group>; |
537 def ftime_report : Flag<"-ftime-report">, Group<f_Group>; | 632 def ftime_report : Flag<"-ftime-report">, Group<f_Group>, Flags<[CC1Option]>; |
538 def ftrapv : Flag<"-ftrapv">, Group<f_Group>; | 633 def ftrapv : Flag<"-ftrapv">, Group<f_Group>, Flags<[CC1Option]>, |
539 def ftrapv_handler_EQ : Joined<"-ftrapv-handler=">, Group<f_Group>; | 634 HelpText<"Trap on integer overflow">; |
540 def ftrap_function_EQ : Joined<"-ftrap-function=">, Group<f_Group>, | 635 def ftrapv_handler_EQ : Joined<"-ftrapv-handler=">, Group<f_Group>, |
| 636 MetaVarName<"<function name>">, |
| 637 HelpText<"Specify the function to be called on overflow.">; |
| 638 def ftrapv_handler : Separate<"-ftrapv-handler">, Group<f_Group>, Flags<[CC1Opti
on]>; |
| 639 def ftrap_function_EQ : Joined<"-ftrap-function=">, Group<f_Group>, Flags<[CC1Op
tion]>, |
541 HelpText<"Issue call to specified function rather than a trap instruction">; | 640 HelpText<"Issue call to specified function rather than a trap instruction">; |
542 def funit_at_a_time : Flag<"-funit-at-a-time">, Group<f_Group>; | 641 def funit_at_a_time : Flag<"-funit-at-a-time">, Group<f_Group>; |
543 def funroll_loops : Flag<"-funroll-loops">, Group<f_Group>; | 642 def funroll_loops : Flag<"-funroll-loops">, Group<f_Group>, |
| 643 HelpText<"Turn on loop unroller">, Flags<[CC1Option]>; |
544 def funsigned_bitfields : Flag<"-funsigned-bitfields">, Group<f_Group>; | 644 def funsigned_bitfields : Flag<"-funsigned-bitfields">, Group<f_Group>; |
545 def funsigned_char : Flag<"-funsigned-char">, Group<f_Group>; | 645 def funsigned_char : Flag<"-funsigned-char">, Group<f_Group>; |
546 def funwind_tables : Flag<"-funwind-tables">, Group<f_Group>; | 646 def funwind_tables : Flag<"-funwind-tables">, Group<f_Group>; |
547 def fuse_cxa_atexit : Flag<"-fuse-cxa-atexit">, Group<f_Group>; | 647 def fuse_cxa_atexit : Flag<"-fuse-cxa-atexit">, Group<f_Group>; |
548 def fverbose_asm : Flag<"-fverbose-asm">, Group<f_Group>; | 648 def fverbose_asm : Flag<"-fverbose-asm">, Group<f_Group>; |
549 def fvisibility_EQ : Joined<"-fvisibility=">, Group<f_Group>; | 649 def fvisibility_EQ : Joined<"-fvisibility=">, Group<f_Group>; |
550 def fvisibility_inlines_hidden : Flag<"-fvisibility-inlines-hidden">, Group<f_Gr
oup>; | 650 def fvisibility_inlines_hidden : Flag<"-fvisibility-inlines-hidden">, Group<f_Gr
oup>, |
551 def fwrapv : Flag<"-fwrapv">, Group<f_Group>; | 651 HelpText<"Give inline C++ member functions default visibility by default">, |
552 def fwritable_strings : Flag<"-fwritable-strings">, Group<f_Group>; | 652 Flags<[CC1Option]>; |
| 653 def fwrapv : Flag<"-fwrapv">, Group<f_Group>, Flags<[CC1Option]>, |
| 654 HelpText<"Treat signed integer overflow as two's complement">; |
| 655 def fwritable_strings : Flag<"-fwritable-strings">, Group<f_Group>, Flags<[CC1Op
tion]>, |
| 656 HelpText<"Store string literals as writable data">; |
553 def fzero_initialized_in_bss : Flag<"-fzero-initialized-in-bss">, Group<f_Group>
; | 657 def fzero_initialized_in_bss : Flag<"-fzero-initialized-in-bss">, Group<f_Group>
; |
554 def ffunction_sections: Flag <"-ffunction-sections">, Group<f_Group>; | 658 def ffunction_sections: Flag <"-ffunction-sections">, Group<f_Group>, |
555 def fdata_sections : Flag <"-fdata-sections">, Group<f_Group>; | 659 Flags<[CC1Option]>, HelpText<"Place each function in its own section (ELF Only
)">; |
| 660 def fdata_sections : Flag <"-fdata-sections">, Group<f_Group>, Flags<[CC1Option]
>, |
| 661 HelpText<"Place each data in its own section (ELF Only)">; |
556 def f : Joined<"-f">, Group<f_Group>; | 662 def f : Joined<"-f">, Group<f_Group>; |
557 def g0 : Flag<"-g0">, Group<g_Group>; | 663 def g0 : Flag<"-g0">, Group<g_Group>; |
558 def g2 : Flag<"-g2">, Group<g_Group>; | 664 def g2 : Flag<"-g2">, Group<g_Group>; |
559 def g3 : Flag<"-g3">, Group<g_Group>; | 665 def g3 : Flag<"-g3">, Group<g_Group>; |
560 def gdwarf2 : Flag<"-gdwarf-2">, Group<g_Group>; | 666 def gdwarf2 : Flag<"-gdwarf-2">, Group<g_Group>; |
561 def gfull : Flag<"-gfull">, Group<g_Group>; | 667 def gfull : Flag<"-gfull">, Group<g_Group>; |
562 def ggdb : Flag<"-ggdb">, Group<g_Group>; | 668 def ggdb : Flag<"-ggdb">, Group<g_Group>; |
563 def gstabs : Flag<"-gstabs">, Group<g_Group>; | 669 def gstabs : Flag<"-gstabs">, Group<g_Group>; |
564 def gstabsplus : Flag<"-gstabs+">, Group<g_Group>; | 670 def gstabsplus : Flag<"-gstabs+">, Group<g_Group>; |
565 def gstabs1 : Flag<"-gstabs1">, Group<g_Group>; | 671 def gstabs1 : Flag<"-gstabs1">, Group<g_Group>; |
566 def gstabs2 : Flag<"-gstabs2">, Group<g_Group>; | 672 def gstabs2 : Flag<"-gstabs2">, Group<g_Group>; |
567 def gused : Flag<"-gused">, Group<g_Group>; | 673 def gused : Flag<"-gused">, Group<g_Group>; |
568 def g_Flag : Flag<"-g">, Group<g_Group>; | 674 def g_Flag : Flag<"-g">, Group<g_Group>, HelpText<"Generate source level debug i
nformation">, |
569 def gline_tables_only : Flag<"-gline-tables-only">, Group<g_Group>; | 675 Flags<[CC1Option]>; |
| 676 def gline_tables_only : Flag<"-gline-tables-only">, Group<g_Group>, |
| 677 HelpText<"Emit debug line number tables only">, Flags<[CC1Option]>; |
570 def headerpad__max__install__names : Joined<"-headerpad_max_install_names">; | 678 def headerpad__max__install__names : Joined<"-headerpad_max_install_names">; |
571 def index_header_map : Flag<"-index-header-map">; | 679 def help : Flag<"-help">, Flags<[CC1Option]>, |
572 def idirafter : JoinedOrSeparate<"-idirafter">, Group<clang_i_Group>; | 680 HelpText<"Display available options">; |
573 def iframework : Joined<"-iframework">, Group<clang_i_Group>; | 681 def index_header_map : Flag<"-index-header-map">, Flags<[CC1Option]>, |
574 def imacros : JoinedOrSeparate<"-imacros">, Group<clang_i_Group>; | 682 HelpText<"Make the next included directory (-I or -F) an indexer header map">; |
| 683 def idirafter : JoinedOrSeparate<"-idirafter">, Group<clang_i_Group>, Flags<[CC1
Option]>, |
| 684 HelpText<"Add directory to AFTER include search path">; |
| 685 def iframework : Joined<"-iframework">, Group<clang_i_Group>, Flags<[CC1Option]>
, |
| 686 HelpText<"Add directory to SYSTEM framework search path">; |
| 687 def imacros : JoinedOrSeparate<"-imacros">, Group<clang_i_Group>, Flags<[CC1Opti
on]>, |
| 688 HelpText<"Include macros from file before parsing">, MetaVarName<"<file>">; |
575 def image__base : Separate<"-image_base">; | 689 def image__base : Separate<"-image_base">; |
576 def include_ : JoinedOrSeparate<"-include">, Group<clang_i_Group>, EnumName<"inc
lude">; | 690 def include_ : JoinedOrSeparate<"-include">, Group<clang_i_Group>, EnumName<"inc
lude">, |
577 def include_pch : Separate<"-include-pch">, Group<clang_i_Group>; | 691 MetaVarName<"<file>">, HelpText<"Include file before parsing">, Flags<[CC1Op
tion]>; |
| 692 def include_pch : Separate<"-include-pch">, Group<clang_i_Group>, Flags<[CC1Opti
on]>, |
| 693 HelpText<"Include precompiled header file">, MetaVarName<"<file>">; |
578 def init : Separate<"-init">; | 694 def init : Separate<"-init">; |
579 def install__name : Separate<"-install_name">; | 695 def install__name : Separate<"-install_name">; |
580 def integrated_as : Flag<"-integrated-as">, Flags<[DriverOption]>; | 696 def integrated_as : Flag<"-integrated-as">, Flags<[DriverOption]>; |
581 def iprefix : JoinedOrSeparate<"-iprefix">, Group<clang_i_Group>; | 697 def iprefix : JoinedOrSeparate<"-iprefix">, Group<clang_i_Group>, Flags<[CC1Opti
on]>, |
582 def iquote : JoinedOrSeparate<"-iquote">, Group<clang_i_Group>; | 698 HelpText<"Set the -iwithprefix/-iwithprefixbefore prefix">, MetaVarName<"<dir>
">; |
583 def isysroot : JoinedOrSeparate<"-isysroot">, Group<clang_i_Group>; | 699 def iquote : JoinedOrSeparate<"-iquote">, Group<clang_i_Group>, Flags<[CC1Option
]>, |
584 def isystem : JoinedOrSeparate<"-isystem">, Group<clang_i_Group>; | 700 HelpText<"Add directory to QUOTE include search path">, MetaVarName<"<director
y>">; |
585 def iwithprefixbefore : JoinedOrSeparate<"-iwithprefixbefore">, Group<clang_i_Gr
oup>; | 701 def isysroot : JoinedOrSeparate<"-isysroot">, Group<clang_i_Group>, Flags<[CC1Op
tion]>, |
586 def iwithprefix : JoinedOrSeparate<"-iwithprefix">, Group<clang_i_Group>; | 702 HelpText<"Set the system root directory (usually /)">, MetaVarName<"<dir>">; |
587 def iwithsysroot : JoinedOrSeparate<"-iwithsysroot">, Group<clang_i_Group>; | 703 def isystem : JoinedOrSeparate<"-isystem">, Group<clang_i_Group>, Flags<[CC1Opti
on]>, |
| 704 HelpText<"Add directory to SYSTEM include search path">, MetaVarName<"<directo
ry>">; |
| 705 def iwithprefixbefore : JoinedOrSeparate<"-iwithprefixbefore">, Group<clang_i_Gr
oup>, |
| 706 HelpText<"Set directory to include search path with prefix">, MetaVarName<"<di
r>">, |
| 707 Flags<[CC1Option]>; |
| 708 def iwithprefix : JoinedOrSeparate<"-iwithprefix">, Group<clang_i_Group>, Flags<
[CC1Option]>, |
| 709 HelpText<"Set directory to SYSTEM include search path with prefix">, MetaVarNa
me<"<dir>">; |
| 710 def iwithsysroot : JoinedOrSeparate<"-iwithsysroot">, Group<clang_i_Group>, |
| 711 HelpText<"Add directory to SYSTEM include search path, " |
| 712 "absolute paths are relative to -isysroot">, MetaVarName<"<directory>
">, |
| 713 Flags<[CC1Option]>; |
588 def i : Joined<"-i">, Group<i_Group>; | 714 def i : Joined<"-i">, Group<i_Group>; |
589 def keep__private__externs : Flag<"-keep_private_externs">; | 715 def keep__private__externs : Flag<"-keep_private_externs">; |
590 def l : JoinedOrSeparate<"-l">, Flags<[LinkerInput, RenderJoined]>; | 716 def l : JoinedOrSeparate<"-l">, Flags<[LinkerInput, RenderJoined]>; |
591 def lazy__framework : Separate<"-lazy_framework">, Flags<[LinkerInput]>; | 717 def lazy__framework : Separate<"-lazy_framework">, Flags<[LinkerInput]>; |
592 def lazy__library : Separate<"-lazy_library">, Flags<[LinkerInput]>; | 718 def lazy__library : Separate<"-lazy_library">, Flags<[LinkerInput]>; |
593 def m32 : Flag<"-m32">, Group<m_Group>, Flags<[DriverOption]>; | 719 def m32 : Flag<"-m32">, Group<m_Group>, Flags<[DriverOption]>; |
594 def mqdsp6_compat : Flag<"-mqdsp6-compat">, Group<m_Group>, Flags<[DriverOption]
>; | 720 def mqdsp6_compat : Flag<"-mqdsp6-compat">, Group<m_Group>, Flags<[DriverOption,
CC1Option]>, |
| 721 HelpText<"Enable hexagon-qdsp6 backward compatibility">; |
595 def m3dnowa : Flag<"-m3dnowa">, Group<m_x86_Features_Group>; | 722 def m3dnowa : Flag<"-m3dnowa">, Group<m_x86_Features_Group>; |
596 def m3dnow : Flag<"-m3dnow">, Group<m_x86_Features_Group>; | 723 def m3dnow : Flag<"-m3dnow">, Group<m_x86_Features_Group>; |
597 def m64 : Flag<"-m64">, Group<m_Group>, Flags<[DriverOption]>; | 724 def m64 : Flag<"-m64">, Group<m_Group>, Flags<[DriverOption]>; |
598 def mabi_EQ : Joined<"-mabi=">, Group<m_Group>; | 725 def mabi_EQ : Joined<"-mabi=">, Group<m_Group>; |
599 def march_EQ : Joined<"-march=">, Group<m_Group>; | 726 def march_EQ : Joined<"-march=">, Group<m_Group>; |
600 def mcmodel_EQ : Joined<"-mcmodel=">, Group<m_Group>; | 727 def mcmodel_EQ : Joined<"-mcmodel=">, Group<m_Group>; |
601 def mconstant_cfstrings : Flag<"-mconstant-cfstrings">, Group<clang_ignored_m_Gr
oup>; | 728 def mconstant_cfstrings : Flag<"-mconstant-cfstrings">, Group<clang_ignored_m_Gr
oup>; |
602 def mcpu_EQ : Joined<"-mcpu=">, Group<m_Group>; | 729 def mcpu_EQ : Joined<"-mcpu=">, Group<m_Group>; |
603 def mdynamic_no_pic : Joined<"-mdynamic-no-pic">, Group<m_Group>; | 730 def mdynamic_no_pic : Joined<"-mdynamic-no-pic">, Group<m_Group>; |
604 def mfix_and_continue : Flag<"-mfix-and-continue">, Group<clang_ignored_m_Group>
; | 731 def mfix_and_continue : Flag<"-mfix-and-continue">, Group<clang_ignored_m_Group>
; |
605 def mfloat_abi_EQ : Joined<"-mfloat-abi=">, Group<m_Group>; | 732 def mfloat_abi_EQ : Joined<"-mfloat-abi=">, Group<m_Group>; |
606 def mfpmath_EQ : Joined<"-mfpmath=">, Group<m_Group>; | 733 def mfpmath_EQ : Joined<"-mfpmath=">, Group<m_Group>; |
607 def mfpu_EQ : Joined<"-mfpu=">, Group<m_Group>; | 734 def mfpu_EQ : Joined<"-mfpu=">, Group<m_Group>; |
608 def mglobal_merge : Flag<"-mglobal-merge">, Group<m_Group>; | 735 def mglobal_merge : Flag<"-mglobal-merge">, Group<m_Group>; |
609 def mhard_float : Flag<"-mhard-float">, Group<m_Group>; | 736 def mhard_float : Flag<"-mhard-float">, Group<m_Group>; |
610 def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group<m_Group>
; | 737 def miphoneos_version_min_EQ : Joined<"-miphoneos-version-min=">, Group<m_Group>
; |
611 def mios_version_min_EQ : Joined<"-mios-version-min=">, Alias<miphoneos_version_
min_EQ>; | 738 def mios_version_min_EQ : Joined<"-mios-version-min=">, Alias<miphoneos_version_
min_EQ>; |
612 def mios_simulator_version_min_EQ : Joined<"-mios-simulator-version-min=">, Grou
p<m_Group>; | 739 def mios_simulator_version_min_EQ : Joined<"-mios-simulator-version-min=">, Grou
p<m_Group>; |
613 def mkernel : Flag<"-mkernel">, Group<m_Group>; | 740 def mkernel : Flag<"-mkernel">, Group<m_Group>; |
614 def mlinker_version_EQ : Joined<"-mlinker-version=">, Flags<[NoForward]>; | 741 def mlinker_version_EQ : Joined<"-mlinker-version=">, Flags<[NoForward]>; |
615 def mllvm : Separate<"-mllvm">; | 742 def mllvm : Separate<"-mllvm">, Flags<[CC1Option]>, |
| 743 HelpText<"Additional arguments to forward to LLVM's option processing">; |
616 def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group<m_Group>; | 744 def mmacosx_version_min_EQ : Joined<"-mmacosx-version-min=">, Group<m_Group>; |
617 def mms_bitfields : Flag<"-mms-bitfields">, Group<m_Group>; | 745 def mms_bitfields : Flag<"-mms-bitfields">, Group<m_Group>, Flags<[CC1Option]>, |
618 def mstackrealign : Flag<"-mstackrealign">, Group<m_Group>; | 746 HelpText<"Set the default structure layout to be compatible with the Microsoft
compiler standard.">; |
619 def mstack_alignment : Joined<"-mstack-alignment=">, Group<m_Group>; | 747 def mstackrealign : Flag<"-mstackrealign">, Group<m_Group>, Flags<[CC1Option]>, |
| 748 HelpText<"Force realign the stack at entry to every function.">; |
| 749 def mstack_alignment : Joined<"-mstack-alignment=">, Group<m_Group>, Flags<[CC1O
ption]>, |
| 750 HelpText<"Set the stack alignment">; |
620 def mmmx : Flag<"-mmmx">, Group<m_x86_Features_Group>; | 751 def mmmx : Flag<"-mmmx">, Group<m_x86_Features_Group>; |
621 def mno_3dnowa : Flag<"-mno-3dnowa">, Group<m_x86_Features_Group>; | 752 def mno_3dnowa : Flag<"-mno-3dnowa">, Group<m_x86_Features_Group>; |
622 def mno_3dnow : Flag<"-mno-3dnow">, Group<m_x86_Features_Group>; | 753 def mno_3dnow : Flag<"-mno-3dnow">, Group<m_x86_Features_Group>; |
623 def mno_constant_cfstrings : Flag<"-mno-constant-cfstrings">, Group<m_Group>; | 754 def mno_constant_cfstrings : Flag<"-mno-constant-cfstrings">, Group<m_Group>; |
624 def mno_global_merge : Flag<"-mno-global-merge">, Group<m_Group>; | 755 def mno_global_merge : Flag<"-mno-global-merge">, Group<m_Group>, Flags<[CC1Opti
on]>, |
| 756 HelpText<"Disable merging of globals">; |
625 def mno_mmx : Flag<"-mno-mmx">, Group<m_x86_Features_Group>; | 757 def mno_mmx : Flag<"-mno-mmx">, Group<m_x86_Features_Group>; |
626 def mno_pascal_strings : Flag<"-mno-pascal-strings">, Group<m_Group>; | 758 def mno_pascal_strings : Flag<"-mno-pascal-strings">, Group<m_Group>; |
627 def mno_red_zone : Flag<"-mno-red-zone">, Group<m_Group>; | 759 def mno_red_zone : Flag<"-mno-red-zone">, Group<m_Group>; |
628 def mno_relax_all : Flag<"-mno-relax-all">, Group<m_Group>; | 760 def mno_relax_all : Flag<"-mno-relax-all">, Group<m_Group>; |
629 def mno_rtd: Flag<"-mno-rtd">, Group<m_Group>; | 761 def mno_rtd: Flag<"-mno-rtd">, Group<m_Group>; |
630 def mno_soft_float : Flag<"-mno-soft-float">, Group<m_Group>; | 762 def mno_soft_float : Flag<"-mno-soft-float">, Group<m_Group>; |
631 def mno_stackrealign : Flag<"-mno-stackrealign">, Group<m_Group>; | 763 def mno_stackrealign : Flag<"-mno-stackrealign">, Group<m_Group>; |
632 def mno_sse2 : Flag<"-mno-sse2">, Group<m_x86_Features_Group>; | 764 def mno_sse2 : Flag<"-mno-sse2">, Group<m_x86_Features_Group>; |
633 def mno_sse3 : Flag<"-mno-sse3">, Group<m_x86_Features_Group>; | 765 def mno_sse3 : Flag<"-mno-sse3">, Group<m_x86_Features_Group>; |
634 def mno_sse4a : Flag<"-mno-sse4a">, Group<m_x86_Features_Group>; | 766 def mno_sse4a : Flag<"-mno-sse4a">, Group<m_x86_Features_Group>; |
635 def mno_sse4 : Flag<"-mno-sse4">, Group<m_x86_Features_Group>; | 767 def mno_sse4 : Flag<"-mno-sse4">, Group<m_x86_Features_Group>; |
636 def mno_sse4_1 : Flag<"-mno-sse4.1">, Group<m_x86_Features_Group>; | 768 def mno_sse4_1 : Flag<"-mno-sse4.1">, Group<m_x86_Features_Group>; |
637 def mno_sse4_2 : Flag<"-mno-sse4.2">, Group<m_x86_Features_Group>; | 769 def mno_sse4_2 : Flag<"-mno-sse4.2">, Group<m_x86_Features_Group>; |
638 def mno_sse : Flag<"-mno-sse">, Group<m_x86_Features_Group>; | 770 def mno_sse : Flag<"-mno-sse">, Group<m_x86_Features_Group>; |
639 def mno_ssse3 : Flag<"-mno-ssse3">, Group<m_x86_Features_Group>; | 771 def mno_ssse3 : Flag<"-mno-ssse3">, Group<m_x86_Features_Group>; |
640 def mno_aes : Flag<"-mno-aes">, Group<m_x86_Features_Group>; | 772 def mno_aes : Flag<"-mno-aes">, Group<m_x86_Features_Group>; |
641 def mno_avx : Flag<"-mno-avx">, Group<m_x86_Features_Group>; | 773 def mno_avx : Flag<"-mno-avx">, Group<m_x86_Features_Group>; |
642 def mno_avx2 : Flag<"-mno-avx2">, Group<m_x86_Features_Group>; | 774 def mno_avx2 : Flag<"-mno-avx2">, Group<m_x86_Features_Group>; |
643 def mno_lzcnt : Flag<"-mno-lzcnt">, Group<m_x86_Features_Group>; | 775 def mno_lzcnt : Flag<"-mno-lzcnt">, Group<m_x86_Features_Group>; |
644 def mno_bmi : Flag<"-mno-bmi">, Group<m_x86_Features_Group>; | 776 def mno_bmi : Flag<"-mno-bmi">, Group<m_x86_Features_Group>; |
645 def mno_bmi2 : Flag<"-mno-bmi2">, Group<m_x86_Features_Group>; | 777 def mno_bmi2 : Flag<"-mno-bmi2">, Group<m_x86_Features_Group>; |
646 def mno_popcnt : Flag<"-mno-popcnt">, Group<m_x86_Features_Group>; | 778 def mno_popcnt : Flag<"-mno-popcnt">, Group<m_x86_Features_Group>; |
647 def mno_fma4 : Flag<"-mno-fma4">, Group<m_x86_Features_Group>; | 779 def mno_fma4 : Flag<"-mno-fma4">, Group<m_x86_Features_Group>; |
648 | 780 |
649 def mno_thumb : Flag<"-mno-thumb">, Group<m_Group>; | 781 def mno_thumb : Flag<"-mno-thumb">, Group<m_Group>; |
650 def marm : Flag<"-marm">, Alias<mno_thumb>; | 782 def marm : Flag<"-marm">, Alias<mno_thumb>; |
651 | 783 |
652 def mno_warn_nonportable_cfstrings : Flag<"-mno-warn-nonportable-cfstrings">, Gr
oup<m_Group>; | 784 def mno_warn_nonportable_cfstrings : Flag<"-mno-warn-nonportable-cfstrings">, Gr
oup<m_Group>; |
653 def mno_omit_leaf_frame_pointer : Flag<"-mno-omit-leaf-frame-pointer">, Group<f_
Group>; | 785 def mno_omit_leaf_frame_pointer : Flag<"-mno-omit-leaf-frame-pointer">, Group<f_
Group>; |
654 def momit_leaf_frame_pointer : Flag<"-momit-leaf-frame-pointer">, Group<f_Group>
; | 786 def momit_leaf_frame_pointer : Flag<"-momit-leaf-frame-pointer">, Group<f_Group>
, |
| 787 HelpText<"Omit frame pointer setup for leaf functions.">, Flags<[CC1Option]>; |
655 def mpascal_strings : Flag<"-mpascal-strings">, Group<m_Group>; | 788 def mpascal_strings : Flag<"-mpascal-strings">, Group<m_Group>; |
656 def mred_zone : Flag<"-mred-zone">, Group<m_Group>; | 789 def mred_zone : Flag<"-mred-zone">, Group<m_Group>; |
657 def mregparm_EQ : Joined<"-mregparm=">, Group<m_Group>; | 790 def mregparm_EQ : Joined<"-mregparm=">, Group<m_Group>; |
658 def mrelax_all : Flag<"-mrelax-all">, Group<m_Group>; | 791 def mrelax_all : Flag<"-mrelax-all">, Group<m_Group>, Flags<[CC1Option]>, |
659 def mrtd: Flag<"-mrtd">, Group<m_Group>; | 792 HelpText<"(integrated-as) Relax all machine instructions">; |
| 793 def mrtd : Flag<"-mrtd">, Group<m_Group>, Flags<[CC1Option]>, |
| 794 HelpText<"Make StdCall calling convention the default">; |
660 def msmall_data_threshold_EQ : Joined <"-msmall-data-threshold=">, Group<m_Group
>; | 795 def msmall_data_threshold_EQ : Joined <"-msmall-data-threshold=">, Group<m_Group
>; |
661 def msoft_float : Flag<"-msoft-float">, Group<m_Group>; | 796 def msoft_float : Flag<"-msoft-float">, Group<m_Group>, Flags<[CC1Option]>, |
| 797 HelpText<"Use software floating point">; |
662 def msse2 : Flag<"-msse2">, Group<m_x86_Features_Group>; | 798 def msse2 : Flag<"-msse2">, Group<m_x86_Features_Group>; |
663 def msse3 : Flag<"-msse3">, Group<m_x86_Features_Group>; | 799 def msse3 : Flag<"-msse3">, Group<m_x86_Features_Group>; |
664 def msse4a : Flag<"-msse4a">, Group<m_x86_Features_Group>; | 800 def msse4a : Flag<"-msse4a">, Group<m_x86_Features_Group>; |
665 def msse4 : Flag<"-msse4">, Group<m_x86_Features_Group>; | 801 def msse4 : Flag<"-msse4">, Group<m_x86_Features_Group>; |
666 def msse4_1 : Flag<"-msse4.1">, Group<m_x86_Features_Group>; | 802 def msse4_1 : Flag<"-msse4.1">, Group<m_x86_Features_Group>; |
667 def msse4_2 : Flag<"-msse4.2">, Group<m_x86_Features_Group>; | 803 def msse4_2 : Flag<"-msse4.2">, Group<m_x86_Features_Group>; |
668 def msse : Flag<"-msse">, Group<m_x86_Features_Group>; | 804 def msse : Flag<"-msse">, Group<m_x86_Features_Group>; |
669 def mssse3 : Flag<"-mssse3">, Group<m_x86_Features_Group>; | 805 def mssse3 : Flag<"-mssse3">, Group<m_x86_Features_Group>; |
670 def maes : Flag<"-maes">, Group<m_x86_Features_Group>; | 806 def maes : Flag<"-maes">, Group<m_x86_Features_Group>; |
671 def mavx : Flag<"-mavx">, Group<m_x86_Features_Group>; | 807 def mavx : Flag<"-mavx">, Group<m_x86_Features_Group>; |
(...skipping 10 matching lines...) Expand all Loading... |
682 def multiply__defined : Separate<"-multiply_defined">; | 818 def multiply__defined : Separate<"-multiply_defined">; |
683 def mwarn_nonportable_cfstrings : Flag<"-mwarn-nonportable-cfstrings">, Group<m_
Group>; | 819 def mwarn_nonportable_cfstrings : Flag<"-mwarn-nonportable-cfstrings">, Group<m_
Group>; |
684 def m_Separate : Separate<"-m">, Group<m_Group>; | 820 def m_Separate : Separate<"-m">, Group<m_Group>; |
685 def m_Joined : Joined<"-m">, Group<m_Group>; | 821 def m_Joined : Joined<"-m">, Group<m_Group>; |
686 def no_canonical_prefixes : Flag<"-no-canonical-prefixes">, Flags<[HelpHidden]>, | 822 def no_canonical_prefixes : Flag<"-no-canonical-prefixes">, Flags<[HelpHidden]>, |
687 HelpText<"Use relative instead of canonical paths">; | 823 HelpText<"Use relative instead of canonical paths">; |
688 def no_cpp_precomp : Flag<"-no-cpp-precomp">, Group<clang_ignored_f_Group>; | 824 def no_cpp_precomp : Flag<"-no-cpp-precomp">, Group<clang_ignored_f_Group>; |
689 def no_integrated_as : Flag<"-no-integrated-as">, Flags<[DriverOption]>; | 825 def no_integrated_as : Flag<"-no-integrated-as">, Flags<[DriverOption]>; |
690 def no_integrated_cpp : Flag<"-no-integrated-cpp">, Flags<[DriverOption]>; | 826 def no_integrated_cpp : Flag<"-no-integrated-cpp">, Flags<[DriverOption]>; |
691 def no__dead__strip__inits__and__terms : Flag<"-no_dead_strip_inits_and_terms">; | 827 def no__dead__strip__inits__and__terms : Flag<"-no_dead_strip_inits_and_terms">; |
692 def nobuiltininc : Flag<"-nobuiltininc">; | 828 def nobuiltininc : Flag<"-nobuiltininc">, Flags<[CC1Option]>, |
| 829 HelpText<"Disable builtin #include directories">; |
693 def nodefaultlibs : Flag<"-nodefaultlibs">; | 830 def nodefaultlibs : Flag<"-nodefaultlibs">; |
694 def nofixprebinding : Flag<"-nofixprebinding">; | 831 def nofixprebinding : Flag<"-nofixprebinding">; |
695 def nolibc : Flag<"-nolibc">; | 832 def nolibc : Flag<"-nolibc">; |
696 def nomultidefs : Flag<"-nomultidefs">; | 833 def nomultidefs : Flag<"-nomultidefs">; |
697 def noprebind : Flag<"-noprebind">; | 834 def noprebind : Flag<"-noprebind">; |
698 def noseglinkedit : Flag<"-noseglinkedit">; | 835 def noseglinkedit : Flag<"-noseglinkedit">; |
699 def nostartfiles : Flag<"-nostartfiles">; | 836 def nostartfiles : Flag<"-nostartfiles">; |
700 def nostdinc : Flag<"-nostdinc">; | 837 def nostdinc : Flag<"-nostdinc">; |
701 def nostdlibinc : Flag<"-nostdlibinc">; | 838 def nostdlibinc : Flag<"-nostdlibinc">; |
702 def nostdincxx : Flag<"-nostdinc++">; | 839 def nostdincxx : Flag<"-nostdinc++">, Flags<[CC1Option]>, |
| 840 HelpText<"Disable standard #include directories for the C++ standard library">
; |
703 def nostdlib : Flag<"-nostdlib">; | 841 def nostdlib : Flag<"-nostdlib">; |
704 def object : Flag<"-object">; | 842 def object : Flag<"-object">; |
705 def o : JoinedOrSeparate<"-o">, Flags<[DriverOption, RenderAsInput]>, | 843 def o : JoinedOrSeparate<"-o">, Flags<[DriverOption, RenderAsInput, CC1Option]>, |
706 HelpText<"Write output to <file>">, MetaVarName<"<file>">; | 844 HelpText<"Write output to <file>">, MetaVarName<"<file>">; |
707 def pagezero__size : JoinedOrSeparate<"-pagezero_size">; | 845 def pagezero__size : JoinedOrSeparate<"-pagezero_size">; |
708 def pass_exit_codes : Flag<"-pass-exit-codes">, Flags<[Unsupported]>; | 846 def pass_exit_codes : Flag<"-pass-exit-codes">, Flags<[Unsupported]>; |
709 def pedantic_errors : Flag<"-pedantic-errors">, Group<pedantic_Group>; | 847 def pedantic_errors : Flag<"-pedantic-errors">, Group<pedantic_Group>, Flags<[CC
1Option]>; |
710 def pedantic : Flag<"-pedantic">, Group<pedantic_Group>; | 848 def pedantic : Flag<"-pedantic">, Group<pedantic_Group>, Flags<[CC1Option]>; |
711 def pg : Flag<"-pg">; | 849 def pg : Flag<"-pg">, HelpText<"Enable mcount instrumentation">, Flags<[CC1Optio
n]>; |
712 def pipe : Flag<"-pipe">, | 850 def pipe : Flag<"-pipe">, |
713 HelpText<"Use pipes between commands, when possible">; | 851 HelpText<"Use pipes between commands, when possible">; |
714 def prebind__all__twolevel__modules : Flag<"-prebind_all_twolevel_modules">; | 852 def prebind__all__twolevel__modules : Flag<"-prebind_all_twolevel_modules">; |
715 def prebind : Flag<"-prebind">; | 853 def prebind : Flag<"-prebind">; |
716 def preload : Flag<"-preload">; | 854 def preload : Flag<"-preload">; |
717 def print_file_name_EQ : Joined<"-print-file-name=">, | 855 def print_file_name_EQ : Joined<"-print-file-name=">, |
718 HelpText<"Print the full library path of <file>">, MetaVarName<"<file>">; | 856 HelpText<"Print the full library path of <file>">, MetaVarName<"<file>">; |
719 def print_ivar_layout : Flag<"-print-ivar-layout">; | 857 def print_ivar_layout : Flag<"-print-ivar-layout">, Flags<[CC1Option]>, |
| 858 HelpText<"Enable Objective-C Ivar layout bitmap print trace">; |
720 def print_libgcc_file_name : Flag<"-print-libgcc-file-name">, | 859 def print_libgcc_file_name : Flag<"-print-libgcc-file-name">, |
721 HelpText<"Print the library path for \"libgcc.a\"">; | 860 HelpText<"Print the library path for \"libgcc.a\"">; |
722 def print_multi_directory : Flag<"-print-multi-directory">; | 861 def print_multi_directory : Flag<"-print-multi-directory">; |
723 def print_multi_lib : Flag<"-print-multi-lib">; | 862 def print_multi_lib : Flag<"-print-multi-lib">; |
724 def print_multi_os_directory : Flag<"-print-multi-os-directory">; | 863 def print_multi_os_directory : Flag<"-print-multi-os-directory">; |
725 def print_prog_name_EQ : Joined<"-print-prog-name=">, | 864 def print_prog_name_EQ : Joined<"-print-prog-name=">, |
726 HelpText<"Print the full program path of <name>">, MetaVarName<"<name>">; | 865 HelpText<"Print the full program path of <name>">, MetaVarName<"<name>">; |
727 def print_search_dirs : Flag<"-print-search-dirs">, | 866 def print_search_dirs : Flag<"-print-search-dirs">, |
728 HelpText<"Print the paths used for finding libraries and programs">; | 867 HelpText<"Print the paths used for finding libraries and programs">; |
729 def private__bundle : Flag<"-private_bundle">; | 868 def private__bundle : Flag<"-private_bundle">; |
730 def pthreads : Flag<"-pthreads">; | 869 def pthreads : Flag<"-pthreads">; |
731 def pthread : Flag<"-pthread">; | 870 def pthread : Flag<"-pthread">, Flags<[CC1Option]>, |
| 871 HelpText<"Support POSIX threads in generated code">; |
732 def p : Flag<"-p">; | 872 def p : Flag<"-p">; |
733 def pie : Flag<"-pie">; | 873 def pie : Flag<"-pie">; |
734 def read__only__relocs : Separate<"-read_only_relocs">; | 874 def read__only__relocs : Separate<"-read_only_relocs">; |
735 def remap : Flag<"-remap">; | 875 def remap : Flag<"-remap">; |
736 def rewrite_objc : Flag<"-rewrite-objc">, Flags<[DriverOption]>, | 876 def rewrite_objc : Flag<"-rewrite-objc">, Flags<[DriverOption,CC1Option]>, |
737 HelpText<"Rewrite Objective-C source to C++">; | 877 HelpText<"Rewrite Objective-C source to C++">, Group<Action_Group>; |
738 def rewrite_legacy_objc : Flag<"-rewrite-legacy-objc">, Flags<[DriverOption]>, | 878 def rewrite_legacy_objc : Flag<"-rewrite-legacy-objc">, Flags<[DriverOption]>, |
739 HelpText<"Rewrite Legacy Objective-C source to C++">; | 879 HelpText<"Rewrite Legacy Objective-C source to C++">; |
740 def rdynamic : Flag<"-rdynamic">; | 880 def rdynamic : Flag<"-rdynamic">; |
741 def rpath : Separate<"-rpath">, Flags<[LinkerInput]>; | 881 def rpath : Separate<"-rpath">, Flags<[LinkerInput]>; |
742 def rtlib_EQ : Joined<"-rtlib=">; | 882 def rtlib_EQ : Joined<"-rtlib=">; |
743 def r : Flag<"-r">; | 883 def r : Flag<"-r">; |
744 def save_temps : Flag<"-save-temps">, Flags<[DriverOption]>, | 884 def save_temps : Flag<"-save-temps">, Flags<[DriverOption]>, |
745 HelpText<"Save intermediate compilation results">; | 885 HelpText<"Save intermediate compilation results">; |
746 def sectalign : MultiArg<"-sectalign", 3>; | 886 def sectalign : MultiArg<"-sectalign", 3>; |
747 def sectcreate : MultiArg<"-sectcreate", 3>; | 887 def sectcreate : MultiArg<"-sectcreate", 3>; |
(...skipping 11 matching lines...) Expand all Loading... |
759 def segs__read__ : Joined<"-segs_read_">; | 899 def segs__read__ : Joined<"-segs_read_">; |
760 def shared_libgcc : Flag<"-shared-libgcc">; | 900 def shared_libgcc : Flag<"-shared-libgcc">; |
761 def shared : Flag<"-shared">; | 901 def shared : Flag<"-shared">; |
762 def single__module : Flag<"-single_module">; | 902 def single__module : Flag<"-single_module">; |
763 def specs_EQ : Joined<"-specs=">; | 903 def specs_EQ : Joined<"-specs=">; |
764 def specs : Separate<"-specs">, Flags<[Unsupported]>; | 904 def specs : Separate<"-specs">, Flags<[Unsupported]>; |
765 def static_libgcc : Flag<"-static-libgcc">; | 905 def static_libgcc : Flag<"-static-libgcc">; |
766 def static_libstdcxx : Flag<"-static-libstdc++">; | 906 def static_libstdcxx : Flag<"-static-libstdc++">; |
767 def static : Flag<"-static">, Flags<[NoArgumentUnused]>; | 907 def static : Flag<"-static">, Flags<[NoArgumentUnused]>; |
768 def std_default_EQ : Joined<"-std-default=">; | 908 def std_default_EQ : Joined<"-std-default=">; |
769 def std_EQ : Joined<"-std=">, Group<L_Group>; | 909 def std_EQ : Joined<"-std=">, Flags<[CC1Option]>, Group<L_Group>, |
770 def stdlib_EQ : Joined<"-stdlib=">; | 910 HelpText<"Language standard to compile for">; |
| 911 def stdlib_EQ : Joined<"-stdlib=">, Flags<[CC1Option]>, |
| 912 HelpText<"C++ standard library to use">; |
771 def sub__library : JoinedOrSeparate<"-sub_library">; | 913 def sub__library : JoinedOrSeparate<"-sub_library">; |
772 def sub__umbrella : JoinedOrSeparate<"-sub_umbrella">; | 914 def sub__umbrella : JoinedOrSeparate<"-sub_umbrella">; |
773 def s : Flag<"-s">; | 915 def s : Flag<"-s">; |
774 def target : Separate<"-target">, Flags<[DriverOption]>, | 916 def target : Separate<"-target">, Flags<[DriverOption]>, |
775 HelpText<"Generate code for the given target">; | 917 HelpText<"Generate code for the given target">; |
776 def gcc_toolchain : Separate<"-gcc-toolchain">, Flags<[DriverOption]>, | 918 def gcc_toolchain : Separate<"-gcc-toolchain">, Flags<[DriverOption]>, |
777 HelpText<"Use the gcc toolchain at the given directory">; | 919 HelpText<"Use the gcc toolchain at the given directory">; |
778 // We should deprecate the use of -ccc-host-triple, and then remove. | 920 // We should deprecate the use of -ccc-host-triple, and then remove. |
779 def ccc_host_triple : Separate<"-ccc-host-triple">, Alias<target>; | 921 def ccc_host_triple : Separate<"-ccc-host-triple">, Alias<target>; |
780 def time : Flag<"-time">, | 922 def time : Flag<"-time">, |
781 HelpText<"Time individual commands">; | 923 HelpText<"Time individual commands">; |
782 def traditional_cpp : Flag<"-traditional-cpp">; | 924 def traditional_cpp : Flag<"-traditional-cpp">, Flags<[CC1Option]>, |
| 925 HelpText<"Enable some traditional CPP emulation">; |
783 def traditional : Flag<"-traditional">; | 926 def traditional : Flag<"-traditional">; |
784 def trigraphs : Flag<"-trigraphs">; | 927 def trigraphs : Flag<"-trigraphs">, Flags<[CC1Option]>, |
| 928 HelpText<"Process trigraph sequences">; |
785 def twolevel__namespace__hints : Flag<"-twolevel_namespace_hints">; | 929 def twolevel__namespace__hints : Flag<"-twolevel_namespace_hints">; |
786 def twolevel__namespace : Flag<"-twolevel_namespace">; | 930 def twolevel__namespace : Flag<"-twolevel_namespace">; |
787 def t : Flag<"-t">; | 931 def t : Flag<"-t">; |
788 def umbrella : Separate<"-umbrella">; | 932 def umbrella : Separate<"-umbrella">; |
789 def undefined : JoinedOrSeparate<"-undefined">, Group<u_Group>; | 933 def undefined : JoinedOrSeparate<"-undefined">, Group<u_Group>; |
790 def undef : Flag<"-undef">, Group<u_Group>; | 934 def undef : Flag<"-undef">, Group<u_Group>, Flags<[CC1Option]>, |
| 935 HelpText<"undef all system defines">; |
791 def unexported__symbols__list : Separate<"-unexported_symbols_list">; | 936 def unexported__symbols__list : Separate<"-unexported_symbols_list">; |
792 def u : JoinedOrSeparate<"-u">, Group<u_Group>; | 937 def u : JoinedOrSeparate<"-u">, Group<u_Group>; |
793 def use_gold_plugin : Flag<"-use-gold-plugin">; | 938 def use_gold_plugin : Flag<"-use-gold-plugin">; |
794 def v : Flag<"-v">, | 939 def v : Flag<"-v">, Flags<[CC1Option]>, |
795 HelpText<"Show commands to run and use verbose output">; | 940 HelpText<"Show commands to run and use verbose output">; |
796 def verify : Flag<"-verify">, Flags<[DriverOption]>, | 941 def verify : Flag<"-verify">, Flags<[DriverOption,CC1Option]>, |
797 HelpText<"Verify output using a verifier.">; | 942 HelpText<"Verify output using a verifier.">; |
798 def weak_l : Joined<"-weak-l">, Flags<[LinkerInput]>; | 943 def weak_l : Joined<"-weak-l">, Flags<[LinkerInput]>; |
799 def weak__framework : Separate<"-weak_framework">, Flags<[LinkerInput]>; | 944 def weak__framework : Separate<"-weak_framework">, Flags<[LinkerInput]>; |
800 def weak__library : Separate<"-weak_library">, Flags<[LinkerInput]>; | 945 def weak__library : Separate<"-weak_library">, Flags<[LinkerInput]>; |
801 def weak__reference__mismatches : Separate<"-weak_reference_mismatches">; | 946 def weak__reference__mismatches : Separate<"-weak_reference_mismatches">; |
802 def whatsloaded : Flag<"-whatsloaded">; | 947 def whatsloaded : Flag<"-whatsloaded">; |
803 def whyload : Flag<"-whyload">; | 948 def whyload : Flag<"-whyload">; |
804 def w : Flag<"-w">; | 949 def w : Flag<"-w">, HelpText<"Suppress all warnings.">, Flags<[CC1Option]>; |
805 def x : JoinedOrSeparate<"-x">, Flags<[DriverOption]>, | 950 def x : JoinedOrSeparate<"-x">, Flags<[DriverOption,CC1Option]>, |
806 HelpText<"Treat subsequent input files as having type <language>">, | 951 HelpText<"Treat subsequent input files as having type <language>">, |
807 MetaVarName<"<language>">; | 952 MetaVarName<"<language>">; |
808 def y : Joined<"-y">; | 953 def y : Joined<"-y">; |
809 | 954 |
810 def working_directory : Separate<"-working-directory">, | 955 def working_directory : JoinedOrSeparate<"-working-directory">, Flags<[CC1Option
]>, |
811 HelpText<"Resolve file paths relative to the specified directory">; | 956 HelpText<"Resolve file paths relative to the specified directory">; |
812 def working_directory_EQ : Joined<"-working-directory=">, | 957 def working_directory_EQ : Joined<"-working-directory=">, Flags<[CC1Option]>, |
813 Alias<working_directory>; | 958 Alias<working_directory>; |
814 | 959 |
815 // Double dash options, which are usually an alias for one of the previous | 960 // Double dash options, which are usually an alias for one of the previous |
816 // options. | 961 // options. |
817 | 962 |
818 def _CLASSPATH_EQ : Joined<"--CLASSPATH=">, Alias<fclasspath_EQ>; | 963 def _CLASSPATH_EQ : Joined<"--CLASSPATH=">, Alias<fclasspath_EQ>; |
819 def _CLASSPATH : Separate<"--CLASSPATH">, Alias<fclasspath_EQ>; | 964 def _CLASSPATH : Separate<"--CLASSPATH">, Alias<fclasspath_EQ>; |
820 def _all_warnings : Flag<"--all-warnings">, Alias<Wall>; | 965 def _all_warnings : Flag<"--all-warnings">, Alias<Wall>; |
821 def _analyze_auto : Flag<"--analyze-auto">, Flags<[DriverOption]>; | 966 def _analyze_auto : Flag<"--analyze-auto">, Flags<[DriverOption]>; |
822 def _analyzer_no_default_checks : Flag<"--analyzer-no-default-checks">, Flags<[D
riverOption]>; | 967 def _analyzer_no_default_checks : Flag<"--analyzer-no-default-checks">, Flags<[D
riverOption]>; |
(...skipping 23 matching lines...) Expand all Loading... |
846 def _encoding : Separate<"--encoding">, Alias<fencoding_EQ>; | 991 def _encoding : Separate<"--encoding">, Alias<fencoding_EQ>; |
847 def _entry : Flag<"--entry">, Alias<e>; | 992 def _entry : Flag<"--entry">, Alias<e>; |
848 def _extdirs_EQ : Joined<"--extdirs=">, Alias<fextdirs_EQ>; | 993 def _extdirs_EQ : Joined<"--extdirs=">, Alias<fextdirs_EQ>; |
849 def _extdirs : Separate<"--extdirs">, Alias<fextdirs_EQ>; | 994 def _extdirs : Separate<"--extdirs">, Alias<fextdirs_EQ>; |
850 def _extra_warnings : Flag<"--extra-warnings">, Alias<W_Joined>; | 995 def _extra_warnings : Flag<"--extra-warnings">, Alias<W_Joined>; |
851 def _for_linker_EQ : Joined<"--for-linker=">, Alias<Xlinker>; | 996 def _for_linker_EQ : Joined<"--for-linker=">, Alias<Xlinker>; |
852 def _for_linker : Separate<"--for-linker">, Alias<Xlinker>; | 997 def _for_linker : Separate<"--for-linker">, Alias<Xlinker>; |
853 def _force_link_EQ : Joined<"--force-link=">, Alias<u>; | 998 def _force_link_EQ : Joined<"--force-link=">, Alias<u>; |
854 def _force_link : Separate<"--force-link">, Alias<u>; | 999 def _force_link : Separate<"--force-link">, Alias<u>; |
855 def _help_hidden : Flag<"--help-hidden">; | 1000 def _help_hidden : Flag<"--help-hidden">; |
856 def _help : Flag<"--help">, | 1001 def _help : Flag<"--help">, Alias<help>; |
857 HelpText<"Display available options">; | |
858 def _imacros_EQ : Joined<"--imacros=">, Alias<imacros>; | 1002 def _imacros_EQ : Joined<"--imacros=">, Alias<imacros>; |
859 def _imacros : Separate<"--imacros">, Alias<imacros>; | 1003 def _imacros : Separate<"--imacros">, Alias<imacros>; |
860 def _include_barrier : Flag<"--include-barrier">, Alias<I_>; | 1004 def _include_barrier : Flag<"--include-barrier">, Alias<I_>; |
861 def _include_directory_after_EQ : Joined<"--include-directory-after=">, Alias<id
irafter>; | 1005 def _include_directory_after_EQ : Joined<"--include-directory-after=">, Alias<id
irafter>; |
862 def _include_directory_after : Separate<"--include-directory-after">, Alias<idir
after>; | 1006 def _include_directory_after : Separate<"--include-directory-after">, Alias<idir
after>; |
863 def _include_directory_EQ : Joined<"--include-directory=">, Alias<I>; | 1007 def _include_directory_EQ : Joined<"--include-directory=">, Alias<I>; |
864 def _include_directory : Separate<"--include-directory">, Alias<I>; | 1008 def _include_directory : Separate<"--include-directory">, Alias<I>; |
865 def _include_prefix_EQ : Joined<"--include-prefix=">, Alias<iprefix>; | 1009 def _include_prefix_EQ : Joined<"--include-prefix=">, Alias<iprefix>; |
866 def _include_prefix : Separate<"--include-prefix">, Alias<iprefix>; | 1010 def _include_prefix : Separate<"--include-prefix">, Alias<iprefix>; |
867 def _include_with_prefix_after_EQ : Joined<"--include-with-prefix-after=">, Alia
s<iwithprefix>; | 1011 def _include_with_prefix_after_EQ : Joined<"--include-with-prefix-after=">, Alia
s<iwithprefix>; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 def _target_help : Flag<"--target-help">; | 1081 def _target_help : Flag<"--target-help">; |
938 def _trace_includes : Flag<"--trace-includes">, Alias<H>; | 1082 def _trace_includes : Flag<"--trace-includes">, Alias<H>; |
939 def _traditional_cpp : Flag<"--traditional-cpp">, Alias<traditional_cpp>; | 1083 def _traditional_cpp : Flag<"--traditional-cpp">, Alias<traditional_cpp>; |
940 def _traditional : Flag<"--traditional">, Alias<traditional>; | 1084 def _traditional : Flag<"--traditional">, Alias<traditional>; |
941 def _trigraphs : Flag<"--trigraphs">, Alias<trigraphs>; | 1085 def _trigraphs : Flag<"--trigraphs">, Alias<trigraphs>; |
942 def _undefine_macro_EQ : Joined<"--undefine-macro=">, Alias<U>; | 1086 def _undefine_macro_EQ : Joined<"--undefine-macro=">, Alias<U>; |
943 def _undefine_macro : Separate<"--undefine-macro">, Alias<U>; | 1087 def _undefine_macro : Separate<"--undefine-macro">, Alias<U>; |
944 def _unsigned_char : Flag<"--unsigned-char">, Alias<funsigned_char>; | 1088 def _unsigned_char : Flag<"--unsigned-char">, Alias<funsigned_char>; |
945 def _user_dependencies : Flag<"--user-dependencies">, Alias<MM>; | 1089 def _user_dependencies : Flag<"--user-dependencies">, Alias<MM>; |
946 def _verbose : Flag<"--verbose">, Alias<v>; | 1090 def _verbose : Flag<"--verbose">, Alias<v>; |
947 def _version : Flag<"--version">; | 1091 def _version : Flag<"--version">, Flags<[CC1Option]>; |
948 def _warn__EQ : Joined<"--warn-=">, Alias<W_Joined>; | 1092 def _warn__EQ : Joined<"--warn-=">, Alias<W_Joined>; |
949 def _warn_ : Joined<"--warn-">, Alias<W_Joined>; | 1093 def _warn_ : Joined<"--warn-">, Alias<W_Joined>; |
950 def _write_dependencies : Flag<"--write-dependencies">, Alias<MD>; | 1094 def _write_dependencies : Flag<"--write-dependencies">, Alias<MD>; |
951 def _write_user_dependencies : Flag<"--write-user-dependencies">, Alias<MMD>; | 1095 def _write_user_dependencies : Flag<"--write-user-dependencies">, Alias<MMD>; |
952 def _ : Joined<"--">, Flags<[Unsupported]>; | 1096 def _ : Joined<"--">, Flags<[Unsupported]>; |
953 | 1097 |
954 // Special internal option to handle -Xlinker --no-demangle. | 1098 // Special internal option to handle -Xlinker --no-demangle. |
955 def Z_Xlinker__no_demangle : Flag<"-Z-Xlinker-no-demangle">, | 1099 def Z_Xlinker__no_demangle : Flag<"-Z-Xlinker-no-demangle">, |
956 Flags<[Unsupported, NoArgumentUnused]>; | 1100 Flags<[Unsupported, NoArgumentUnused]>; |
957 | 1101 |
958 // Special internal option to allow forwarding arbitrary arguments to linker. | 1102 // Special internal option to allow forwarding arbitrary arguments to linker. |
959 def Zlinker_input : Separate<"-Zlinker-input">, | 1103 def Zlinker_input : Separate<"-Zlinker-input">, |
960 Flags<[Unsupported, NoArgumentUnused]>; | 1104 Flags<[Unsupported, NoArgumentUnused]>; |
961 | 1105 |
962 // Reserved library options. | 1106 // Reserved library options. |
963 def Z_reserved_lib_stdcxx : Flag<"-Z-reserved-lib-stdc++">, | 1107 def Z_reserved_lib_stdcxx : Flag<"-Z-reserved-lib-stdc++">, |
964 Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group<reserved_lib_Grou
p>; | 1108 Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group<reserved_lib_Grou
p>; |
965 def Z_reserved_lib_cckext : Flag<"-Z-reserved-lib-cckext">, | 1109 def Z_reserved_lib_cckext : Flag<"-Z-reserved-lib-cckext">, |
966 Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group<reserved_lib_Grou
p>; | 1110 Flags<[LinkerInput, NoArgumentUnused, Unsupported]>, Group<reserved_lib_Grou
p>; |
| 1111 |
| 1112 include "CC1Options.td" |
LEFT | RIGHT |