1 //===--- CLCompatOptions.td - Options for clang-cl ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the options accepted by clang-cl.
12 //===----------------------------------------------------------------------===//
14 def cl_Group : OptionGroup<"<clang-cl options>">, Flags<[CLOption]>,
15 HelpText<"CL.EXE COMPATIBILITY OPTIONS">;
17 def cl_compile_Group : OptionGroup<"<clang-cl compile-only options>">,
20 def cl_ignored_Group : OptionGroup<"<clang-cl ignored options>">,
23 class CLFlag<string name> : Option<["/", "-"], name, KIND_FLAG>,
24 Group<cl_Group>, Flags<[CLOption, DriverOption]>;
26 class CLCompileFlag<string name> : Option<["/", "-"], name, KIND_FLAG>,
27 Group<cl_compile_Group>, Flags<[CLOption, DriverOption]>;
29 class CLIgnoredFlag<string name> : Option<["/", "-"], name, KIND_FLAG>,
30 Group<cl_ignored_Group>, Flags<[CLOption, DriverOption]>;
32 class CLJoined<string name> : Option<["/", "-"], name, KIND_JOINED>,
33 Group<cl_Group>, Flags<[CLOption, DriverOption]>;
35 class CLCompileJoined<string name> : Option<["/", "-"], name, KIND_JOINED>,
36 Group<cl_compile_Group>, Flags<[CLOption, DriverOption]>;
38 class CLIgnoredJoined<string name> : Option<["/", "-"], name, KIND_JOINED>,
39 Group<cl_ignored_Group>, Flags<[CLOption, DriverOption, HelpHidden]>;
41 class CLJoinedOrSeparate<string name> : Option<["/", "-"], name,
42 KIND_JOINED_OR_SEPARATE>, Group<cl_Group>, Flags<[CLOption, DriverOption]>;
44 class CLCompileJoinedOrSeparate<string name> : Option<["/", "-"], name,
45 KIND_JOINED_OR_SEPARATE>, Group<cl_compile_Group>,
46 Flags<[CLOption, DriverOption]>;
48 class CLRemainingArgsJoined<string name> : Option<["/", "-"], name,
49 KIND_REMAINING_ARGS_JOINED>, Group<cl_Group>, Flags<[CLOption, DriverOption]>;
52 // (We don't put any of these in cl_compile_Group as the options they alias are
53 // already in the right group.)
55 def _SLASH_Brepro : CLFlag<"Brepro">,
56 HelpText<"Emit an object file which can be reproduced over time">,
57 Alias<mno_incremental_linker_compatible>;
58 def _SLASH_Brepro_ : CLFlag<"Brepro-">,
59 HelpText<"Emit an object file which cannot be reproduced over time">,
60 Alias<mincremental_linker_compatible>;
61 def _SLASH_C : CLFlag<"C">,
62 HelpText<"Don't discard comments when preprocessing">, Alias<C>;
63 def _SLASH_c : CLFlag<"c">, HelpText<"Compile only">, Alias<c>;
64 def _SLASH_d1PP : CLFlag<"d1PP">,
65 HelpText<"Retain macro definitions in /E mode">, Alias<dD>;
66 def _SLASH_d1reportAllClassLayout : CLFlag<"d1reportAllClassLayout">,
67 HelpText<"Dump record layout information">, Alias<fdump_record_layouts>;
68 def _SLASH_diagnostics_caret : CLFlag<"diagnostics:caret">,
69 HelpText<"Enable caret and column diagnostics (on by default)">;
70 def _SLASH_diagnostics_column : CLFlag<"diagnostics:column">,
71 HelpText<"Disable caret diagnostics but keep column info">;
72 def _SLASH_diagnostics_classic : CLFlag<"diagnostics:classic">,
73 HelpText<"Disable column and caret diagnostics">;
74 def _SLASH_D : CLJoinedOrSeparate<"D">, HelpText<"Define macro">,
75 MetaVarName<"<macro[=value]>">, Alias<D>;
76 def _SLASH_E : CLFlag<"E">, HelpText<"Preprocess to stdout">, Alias<E>;
77 def _SLASH_fp_except : CLFlag<"fp:except">, HelpText<"">, Alias<ftrapping_math>;
78 def _SLASH_fp_except_ : CLFlag<"fp:except-">,
79 HelpText<"">, Alias<fno_trapping_math>;
80 def _SLASH_fp_fast : CLFlag<"fp:fast">, HelpText<"">, Alias<ffast_math>;
81 def _SLASH_fp_precise : CLFlag<"fp:precise">,
82 HelpText<"">, Alias<fno_fast_math>;
83 def _SLASH_fp_strict : CLFlag<"fp:strict">, HelpText<"">, Alias<fno_fast_math>;
84 def _SLASH_GA : CLFlag<"GA">, Alias<ftlsmodel_EQ>, AliasArgs<["local-exec"]>,
85 HelpText<"Assume thread-local variables are defined in the executable">;
86 def _SLASH_GR : CLFlag<"GR">, HelpText<"Enable emission of RTTI data">;
87 def _SLASH_GR_ : CLFlag<"GR-">, HelpText<"Disable emission of RTTI data">;
88 def _SLASH_GF : CLIgnoredFlag<"GF">, HelpText<"Enable string pooling (default)">;
89 def _SLASH_GF_ : CLFlag<"GF-">, HelpText<"Disable string pooling">,
90 Alias<fwritable_strings>;
91 def _SLASH_GS : CLFlag<"GS">, HelpText<"Enable buffer security check (default)">;
92 def _SLASH_GS_ : CLFlag<"GS-">, HelpText<"Disable buffer security check">;
93 def : CLFlag<"Gs">, HelpText<"Use stack probes (default)">,
94 Alias<mstack_probe_size>, AliasArgs<["4096"]>;
95 def _SLASH_Gs : CLJoined<"Gs">,
96 HelpText<"Set stack probe size (default 4096)">, Alias<mstack_probe_size>;
97 def _SLASH_Gy : CLFlag<"Gy">, HelpText<"Put each function in its own section">,
98 Alias<ffunction_sections>;
99 def _SLASH_Gy_ : CLFlag<"Gy-">,
100 HelpText<"Don't put each function in its own section (default)">,
101 Alias<fno_function_sections>;
102 def _SLASH_Gw : CLFlag<"Gw">, HelpText<"Put each data item in its own section">,
103 Alias<fdata_sections>;
104 def _SLASH_Gw_ : CLFlag<"Gw-">,
105 HelpText<"Don't put each data item in its own section">,
106 Alias<fno_data_sections>;
107 def _SLASH_help : CLFlag<"help">, Alias<help>,
108 HelpText<"Display available options">;
109 def _SLASH_HELP : CLFlag<"HELP">, Alias<help>;
110 def _SLASH_I : CLJoinedOrSeparate<"I">,
111 HelpText<"Add directory to include search path">, MetaVarName<"<dir>">,
113 def _SLASH_J : CLFlag<"J">, HelpText<"Make char type unsigned">,
114 Alias<funsigned_char>;
116 // The _SLASH_O option handles all the /O flags, but we also provide separate
117 // aliased options to provide separate help messages.
118 def _SLASH_O : CLJoined<"O">,
119 HelpText<"Set multiple /O flags at once; e.g. '/O2y-' for '/O2 /Oy-'">,
120 MetaVarName<"<flags>">;
121 // FIXME: Not sure why we have -O0 here; MSVC doesn't support that.
122 def : CLFlag<"O0">, Alias<O0>, HelpText<"Disable optimization">;
123 def : CLFlag<"O1">, Alias<_SLASH_O>, AliasArgs<["1"]>,
124 HelpText<"Optimize for size (same as /Og /Os /Oy /Ob2 /GF /Gy)">;
125 def : CLFlag<"O2">, Alias<_SLASH_O>, AliasArgs<["2"]>,
126 HelpText<"Optimize for speed (same as /Og /Oi /Ot /Oy /Ob2 /GF /Gy)">;
127 def : CLFlag<"Ob0">, Alias<_SLASH_O>, AliasArgs<["b0"]>,
128 HelpText<"Disable function inlining">;
129 def : CLFlag<"Ob1">, Alias<_SLASH_O>, AliasArgs<["b1"]>,
130 HelpText<"Only inline functions which are (explicitly or implicitly) marked inline">;
131 def : CLFlag<"Ob2">, Alias<_SLASH_O>, AliasArgs<["b2"]>,
132 HelpText<"Inline functions as deemed beneficial by the compiler">;
133 def : CLFlag<"Od">, Alias<_SLASH_O>, AliasArgs<["d"]>,
134 HelpText<"Disable optimization">;
135 def : CLFlag<"Og">, Alias<_SLASH_O>, AliasArgs<["g"]>,
136 HelpText<"No effect">;
137 def : CLFlag<"Oi">, Alias<_SLASH_O>, AliasArgs<["i"]>,
138 HelpText<"Enable use of builtin functions">;
139 def : CLFlag<"Oi-">, Alias<_SLASH_O>, AliasArgs<["i-"]>,
140 HelpText<"Disable use of builtin functions">;
141 def : CLFlag<"Os">, Alias<_SLASH_O>, AliasArgs<["s"]>,
142 HelpText<"Optimize for size">;
143 def : CLFlag<"Ot">, Alias<_SLASH_O>, AliasArgs<["t"]>,
144 HelpText<"Optimize for speed">;
145 def : CLFlag<"Ox">, Alias<_SLASH_O>, AliasArgs<["x"]>,
146 HelpText<"Deprecated (same as /Og /Oi /Ot /Oy /Ob2); use /O2 instead">;
147 def : CLFlag<"Oy">, Alias<_SLASH_O>, AliasArgs<["y"]>,
148 HelpText<"Enable frame pointer omission (x86 only)">;
149 def : CLFlag<"Oy-">, Alias<_SLASH_O>, AliasArgs<["y-"]>,
150 HelpText<"Disable frame pointer omission (x86 only, default)">;
152 def _SLASH_QUESTION : CLFlag<"?">, Alias<help>,
153 HelpText<"Display available options">;
154 def _SLASH_Qvec : CLFlag<"Qvec">,
155 HelpText<"Enable the loop vectorization passes">, Alias<fvectorize>;
156 def _SLASH_Qvec_ : CLFlag<"Qvec-">,
157 HelpText<"Disable the loop vectorization passes">, Alias<fno_vectorize>;
158 def _SLASH_showIncludes : CLFlag<"showIncludes">,
159 HelpText<"Print info about included files to stderr">,
160 Alias<show_includes>;
161 def _SLASH_showFilenames : CLFlag<"showFilenames">,
162 HelpText<"Print the name of each compiled file">;
163 def _SLASH_showFilenames_ : CLFlag<"showFilenames-">,
164 HelpText<"Don't print the name of each compiled file (default)">;
165 def _SLASH_source_charset : CLCompileJoined<"source-charset:">,
166 HelpText<"Source encoding, supports only UTF-8">, Alias<finput_charset_EQ>;
167 def _SLASH_execution_charset : CLCompileJoined<"execution-charset:">,
168 HelpText<"Runtime encoding, supports only UTF-8">, Alias<fexec_charset_EQ>;
169 def _SLASH_std : CLCompileJoined<"std:">,
170 HelpText<"Language standard to compile for">;
171 def _SLASH_U : CLJoinedOrSeparate<"U">, HelpText<"Undefine macro">,
172 MetaVarName<"<macro>">, Alias<U>;
173 def _SLASH_validate_charset : CLFlag<"validate-charset">,
174 Alias<W_Joined>, AliasArgs<["invalid-source-encoding"]>;
175 def _SLASH_validate_charset_ : CLFlag<"validate-charset-">,
176 Alias<W_Joined>, AliasArgs<["no-invalid-source-encoding"]>;
177 def _SLASH_W0 : CLFlag<"W0">, HelpText<"Disable all warnings">, Alias<w>;
178 def _SLASH_W1 : CLFlag<"W1">, HelpText<"Enable -Wall">, Alias<Wall>;
179 def _SLASH_W2 : CLFlag<"W2">, HelpText<"Enable -Wall">, Alias<Wall>;
180 def _SLASH_W3 : CLFlag<"W3">, HelpText<"Enable -Wall">, Alias<Wall>;
181 def _SLASH_W4 : CLFlag<"W4">, HelpText<"Enable -Wall and -Wextra">, Alias<WCL4>;
182 def _SLASH_Wall : CLFlag<"Wall">, HelpText<"Enable -Weverything">,
183 Alias<W_Joined>, AliasArgs<["everything"]>;
184 def _SLASH_WX : CLFlag<"WX">, HelpText<"Treat warnings as errors">,
185 Alias<W_Joined>, AliasArgs<["error"]>;
186 def _SLASH_WX_ : CLFlag<"WX-">, HelpText<"Do not treat warnings as errors">,
187 Alias<W_Joined>, AliasArgs<["no-error"]>;
188 def _SLASH_w_flag : CLFlag<"w">, HelpText<"Disable all warnings">, Alias<w>;
189 def _SLASH_wd4005 : CLFlag<"wd4005">, Alias<W_Joined>,
190 AliasArgs<["no-macro-redefined"]>;
191 def _SLASH_wd4018 : CLFlag<"wd4018">, Alias<W_Joined>,
192 AliasArgs<["no-sign-compare"]>;
193 def _SLASH_wd4100 : CLFlag<"wd4100">, Alias<W_Joined>,
194 AliasArgs<["no-unused-parameter"]>;
195 def _SLASH_wd4910 : CLFlag<"wd4910">, Alias<W_Joined>,
196 AliasArgs<["no-dllexport-explicit-instantiation-decl"]>;
197 def _SLASH_wd4996 : CLFlag<"wd4996">, Alias<W_Joined>,
198 AliasArgs<["no-deprecated-declarations"]>;
199 def _SLASH_vd : CLJoined<"vd">, HelpText<"Control vtordisp placement">,
200 Alias<vtordisp_mode_EQ>;
201 def _SLASH_X : CLFlag<"X">,
202 HelpText<"Don't add %INCLUDE% to the include search path">,
204 def _SLASH_Zc_sizedDealloc : CLFlag<"Zc:sizedDealloc">,
205 HelpText<"Enable C++14 sized global deallocation functions">,
206 Alias<fsized_deallocation>;
207 def _SLASH_Zc_sizedDealloc_ : CLFlag<"Zc:sizedDealloc-">,
208 HelpText<"Disable C++14 sized global deallocation functions">,
209 Alias<fno_sized_deallocation>;
210 def _SLASH_Zc_alignedNew : CLFlag<"Zc:alignedNew">,
211 HelpText<"Enable C++17 aligned allocation functions">,
212 Alias<faligned_allocation>;
213 def _SLASH_Zc_alignedNew_ : CLFlag<"Zc:alignedNew-">,
214 HelpText<"Disable C++17 aligned allocation functions">,
215 Alias<fno_aligned_allocation>;
216 def _SLASH_Zc_strictStrings : CLFlag<"Zc:strictStrings">,
217 HelpText<"Treat string literals as const">, Alias<W_Joined>,
218 AliasArgs<["error=c++11-compat-deprecated-writable-strings"]>;
219 def _SLASH_Zc_threadSafeInit : CLFlag<"Zc:threadSafeInit">,
220 HelpText<"Enable thread-safe initialization of static variables">,
221 Alias<fthreadsafe_statics>;
222 def _SLASH_Zc_threadSafeInit_ : CLFlag<"Zc:threadSafeInit-">,
223 HelpText<"Disable thread-safe initialization of static variables">,
224 Alias<fno_threadsafe_statics>;
225 def _SLASH_Zc_trigraphs : CLFlag<"Zc:trigraphs">,
226 HelpText<"Enable trigraphs">, Alias<ftrigraphs>;
227 def _SLASH_Zc_trigraphs_off : CLFlag<"Zc:trigraphs-">,
228 HelpText<"Disable trigraphs (default)">, Alias<fno_trigraphs>;
229 def _SLASH_Zc_twoPhase : CLFlag<"Zc:twoPhase">,
230 HelpText<"Enable two-phase name lookup in templates">,
231 Alias<fno_delayed_template_parsing>;
232 def _SLASH_Zc_twoPhase_ : CLFlag<"Zc:twoPhase-">,
233 HelpText<"Disable two-phase name lookup in templates">,
234 Alias<fdelayed_template_parsing>;
235 def _SLASH_Z7 : CLFlag<"Z7">,
236 HelpText<"Enable CodeView debug information in object files">;
237 def _SLASH_Zd : CLFlag<"Zd">,
238 HelpText<"Emit debug line number tables only">;
239 def _SLASH_Zi : CLFlag<"Zi">, Alias<_SLASH_Z7>,
240 HelpText<"Alias for /Z7. Does not produce PDBs.">;
241 def _SLASH_Zp : CLJoined<"Zp">,
242 HelpText<"Specify the default maximum struct packing alignment">,
243 Alias<fpack_struct_EQ>;
244 def _SLASH_Zp_flag : CLFlag<"Zp">,
245 HelpText<"Set the default maximum struct packing alignment to 1">,
246 Alias<fpack_struct_EQ>, AliasArgs<["1"]>;
247 def _SLASH_Zs : CLFlag<"Zs">, HelpText<"Syntax-check only">,
253 def _SLASH_arch : CLCompileJoined<"arch:">,
254 HelpText<"Set architecture for code generation">;
256 def _SLASH_M_Group : OptionGroup<"</M group>">, Group<cl_compile_Group>;
257 def _SLASH_volatile_Group : OptionGroup<"</volatile group>">,
258 Group<cl_compile_Group>;
260 def _SLASH_EH : CLJoined<"EH">, HelpText<"Exception handling model">;
261 def _SLASH_EP : CLFlag<"EP">,
262 HelpText<"Disable linemarker output and preprocess to stdout">;
263 def _SLASH_FA : CLFlag<"FA">,
264 HelpText<"Output assembly code file during compilation">;
265 def _SLASH_Fa : CLJoined<"Fa">,
266 HelpText<"Output assembly code to this file during compilation (with /FA)">,
267 MetaVarName<"<file or directory>">;
268 def _SLASH_fallback : CLCompileFlag<"fallback">,
269 HelpText<"Fall back to cl.exe if clang-cl fails to compile">;
270 def _SLASH_FI : CLJoinedOrSeparate<"FI">,
271 HelpText<"Include file before parsing">, Alias<include_>;
272 def _SLASH_Fe : CLJoined<"Fe">,
273 HelpText<"Set output executable file or directory (ends in / or \\)">,
274 MetaVarName<"<file or directory>">;
275 def _SLASH_Fi : CLCompileJoined<"Fi">,
276 HelpText<"Set preprocess output file name (with /P)">,
277 MetaVarName<"<file>">;
278 def _SLASH_Fo : CLCompileJoined<"Fo">,
279 HelpText<"Set output object file, or directory (ends in / or \\) (with /c)">,
280 MetaVarName<"<file or directory>">;
281 def _SLASH_guard : CLJoined<"guard:">,
282 HelpText<"Enable Control Flow Guard with /guard:cf, or only the table with /guard:cf,nochecks">;
283 def _SLASH_GX : CLFlag<"GX">,
284 HelpText<"Enable exception handling">;
285 def _SLASH_GX_ : CLFlag<"GX-">,
286 HelpText<"Disable exception handling">;
287 def _SLASH_imsvc : CLJoinedOrSeparate<"imsvc">,
288 HelpText<"Add directory to system include search path, as if part of %INCLUDE%">,
289 MetaVarName<"<dir>">;
290 def _SLASH_LD : CLFlag<"LD">, HelpText<"Create DLL">;
291 def _SLASH_LDd : CLFlag<"LDd">, HelpText<"Create debug DLL">;
292 def _SLASH_link : CLRemainingArgsJoined<"link">,
293 HelpText<"Forward options to the linker">, MetaVarName<"<options>">;
294 def _SLASH_MD : Option<["/", "-"], "MD", KIND_FLAG>, Group<_SLASH_M_Group>,
295 Flags<[CLOption, DriverOption]>, HelpText<"Use DLL run-time">;
296 def _SLASH_MDd : Option<["/", "-"], "MDd", KIND_FLAG>, Group<_SLASH_M_Group>,
297 Flags<[CLOption, DriverOption]>, HelpText<"Use DLL debug run-time">;
298 def _SLASH_MT : Option<["/", "-"], "MT", KIND_FLAG>, Group<_SLASH_M_Group>,
299 Flags<[CLOption, DriverOption]>, HelpText<"Use static run-time">;
300 def _SLASH_MTd : Option<["/", "-"], "MTd", KIND_FLAG>, Group<_SLASH_M_Group>,
301 Flags<[CLOption, DriverOption]>, HelpText<"Use static debug run-time">;
302 def _SLASH_o : CLJoinedOrSeparate<"o">,
303 HelpText<"Set output file or directory (ends in / or \\)">,
304 MetaVarName<"<file or directory>">;
305 def _SLASH_P : CLFlag<"P">, HelpText<"Preprocess to file">;
306 def _SLASH_Tc : CLCompileJoinedOrSeparate<"Tc">,
307 HelpText<"Specify a C source file">, MetaVarName<"<filename>">;
308 def _SLASH_TC : CLCompileFlag<"TC">, HelpText<"Treat all source files as C">;
309 def _SLASH_Tp : CLCompileJoinedOrSeparate<"Tp">,
310 HelpText<"Specify a C++ source file">, MetaVarName<"<filename>">;
311 def _SLASH_TP : CLCompileFlag<"TP">, HelpText<"Treat all source files as C++">;
312 def _SLASH_volatile_iso : Option<["/", "-"], "volatile:iso", KIND_FLAG>,
313 Group<_SLASH_volatile_Group>, Flags<[CLOption, DriverOption]>,
314 HelpText<"Volatile loads and stores have standard semantics">;
315 def _SLASH_vmb : CLFlag<"vmb">,
316 HelpText<"Use a best-case representation method for member pointers">;
317 def _SLASH_vmg : CLFlag<"vmg">,
318 HelpText<"Use a most-general representation for member pointers">;
319 def _SLASH_vms : CLFlag<"vms">,
320 HelpText<"Set the default most-general representation to single inheritance">;
321 def _SLASH_vmm : CLFlag<"vmm">,
322 HelpText<"Set the default most-general representation to "
323 "multiple inheritance">;
324 def _SLASH_vmv : CLFlag<"vmv">,
325 HelpText<"Set the default most-general representation to "
326 "virtual inheritance">;
327 def _SLASH_volatile_ms : Option<["/", "-"], "volatile:ms", KIND_FLAG>,
328 Group<_SLASH_volatile_Group>, Flags<[CLOption, DriverOption]>,
329 HelpText<"Volatile loads and stores have acquire and release semantics">;
330 def _SLASH_clang : CLJoined<"clang:">,
331 HelpText<"Pass <arg> to the clang driver">, MetaVarName<"<arg>">;
332 def _SLASH_Zl : CLFlag<"Zl">,
333 HelpText<"Don't mention any default libraries in the object file">;
335 def _SLASH_Yc : CLJoined<"Yc">,
336 HelpText<"Generate a pch file for all code up to and including <filename>">,
337 MetaVarName<"<filename>">;
338 def _SLASH_Yu : CLJoined<"Yu">,
339 HelpText<"Load a pch file and use it instead of all code up to "
340 "and including <filename>">,
341 MetaVarName<"<filename>">;
342 def _SLASH_Y_ : CLFlag<"Y-">,
343 HelpText<"Disable precompiled headers, overrides /Yc and /Yu">;
344 def _SLASH_Zc_dllexportInlines : CLFlag<"Zc:dllexportInlines">,
345 HelpText<"dllexport/dllimport inline member functions of dllexport/import classes (default)">;
346 def _SLASH_Zc_dllexportInlines_ : CLFlag<"Zc:dllexportInlines-">,
347 HelpText<"Don't dllexport/dllimport inline member functions of dllexport/import classes">;
348 def _SLASH_Fp : CLJoined<"Fp">,
349 HelpText<"Set pch filename (with /Yc and /Yu)">, MetaVarName<"<filename>">;
351 def _SLASH_Gd : CLFlag<"Gd">,
352 HelpText<"Set __cdecl as a default calling convention">;
353 def _SLASH_Gr : CLFlag<"Gr">,
354 HelpText<"Set __fastcall as a default calling convention">;
355 def _SLASH_Gz : CLFlag<"Gz">,
356 HelpText<"Set __stdcall as a default calling convention">;
357 def _SLASH_Gv : CLFlag<"Gv">,
358 HelpText<"Set __vectorcall as a default calling convention">;
359 def _SLASH_Gregcall : CLFlag<"Gregcall">,
360 HelpText<"Set __regcall as a default calling convention">;
364 def _SLASH_analyze_ : CLIgnoredFlag<"analyze-">;
365 def _SLASH_bigobj : CLIgnoredFlag<"bigobj">;
366 def _SLASH_cgthreads : CLIgnoredJoined<"cgthreads">;
367 def _SLASH_d2FastFail : CLIgnoredFlag<"d2FastFail">;
368 def _SLASH_d2Zi_PLUS : CLIgnoredFlag<"d2Zi+">;
369 def _SLASH_errorReport : CLIgnoredJoined<"errorReport">;
370 def _SLASH_FC : CLIgnoredFlag<"FC">;
371 def _SLASH_Fd : CLIgnoredJoined<"Fd">;
372 def _SLASH_FS : CLIgnoredFlag<"FS">;
373 def _SLASH_JMC : CLIgnoredFlag<"JMC">;
374 def _SLASH_kernel_ : CLIgnoredFlag<"kernel-">;
375 def _SLASH_nologo : CLIgnoredFlag<"nologo">;
376 def _SLASH_openmp_ : CLIgnoredFlag<"openmp-">;
377 def _SLASH_permissive_ : CLIgnoredFlag<"permissive-">;
378 def _SLASH_RTC : CLIgnoredJoined<"RTC">;
379 def _SLASH_sdl : CLIgnoredFlag<"sdl">;
380 def _SLASH_sdl_ : CLIgnoredFlag<"sdl-">;
381 def _SLASH_utf8 : CLIgnoredFlag<"utf-8">,
382 HelpText<"Set source and runtime encoding to UTF-8 (default)">;
383 def _SLASH_w : CLIgnoredJoined<"w">;
384 def _SLASH_Zc___cplusplus : CLIgnoredFlag<"Zc:__cplusplus">;
385 def _SLASH_Zc_auto : CLIgnoredFlag<"Zc:auto">;
386 def _SLASH_Zc_forScope : CLIgnoredFlag<"Zc:forScope">;
387 def _SLASH_Zc_inline : CLIgnoredFlag<"Zc:inline">;
388 def _SLASH_Zc_rvalueCast : CLIgnoredFlag<"Zc:rvalueCast">;
389 def _SLASH_Zc_ternary : CLIgnoredFlag<"Zc:ternary">;
390 def _SLASH_Zc_wchar_t : CLIgnoredFlag<"Zc:wchar_t">;
391 def _SLASH_Zm : CLIgnoredJoined<"Zm">;
392 def _SLASH_Zo : CLIgnoredFlag<"Zo">;
393 def _SLASH_Zo_ : CLIgnoredFlag<"Zo-">;
398 def _SLASH_await : CLFlag<"await">;
399 def _SLASH_constexpr : CLJoined<"constexpr:">;
400 def _SLASH_AI : CLJoinedOrSeparate<"AI">;
401 def _SLASH_Bt : CLFlag<"Bt">;
402 def _SLASH_Bt_plus : CLFlag<"Bt+">;
403 def _SLASH_clr : CLJoined<"clr">;
404 def _SLASH_doc : CLJoined<"doc">;
405 def _SLASH_FA_joined : CLJoined<"FA">;
406 def _SLASH_favor : CLJoined<"favor">;
407 def _SLASH_F : CLFlag<"F">;
408 def _SLASH_Fm : CLJoined<"Fm">;
409 def _SLASH_Fr : CLJoined<"Fr">;
410 def _SLASH_FR : CLJoined<"FR">;
411 def _SLASH_FU : CLJoinedOrSeparate<"FU">;
412 def _SLASH_Fx : CLFlag<"Fx">;
413 def _SLASH_G1 : CLFlag<"G1">;
414 def _SLASH_G2 : CLFlag<"G2">;
415 def _SLASH_Ge : CLFlag<"Ge">;
416 def _SLASH_Gh : CLFlag<"Gh">;
417 def _SLASH_GH : CLFlag<"GH">;
418 def _SLASH_GL : CLFlag<"GL">;
419 def _SLASH_GL_ : CLFlag<"GL-">;
420 def _SLASH_Gm : CLFlag<"Gm">;
421 def _SLASH_Gm_ : CLFlag<"Gm-">;
422 def _SLASH_GT : CLFlag<"GT">;
423 def _SLASH_GZ : CLFlag<"GZ">;
424 def _SLASH_H : CLFlag<"H">;
425 def _SLASH_homeparams : CLFlag<"homeparams">;
426 def _SLASH_hotpatch : CLFlag<"hotpatch">;
427 def _SLASH_kernel : CLFlag<"kernel">;
428 def _SLASH_LN : CLFlag<"LN">;
429 def _SLASH_MP : CLJoined<"MP">;
430 def _SLASH_openmp : CLFlag<"openmp">;
431 def _SLASH_Qfast_transcendentals : CLFlag<"Qfast_transcendentals">;
432 def _SLASH_QIfist : CLFlag<"QIfist">;
433 def _SLASH_Qimprecise_fwaits : CLFlag<"Qimprecise_fwaits">;
434 def _SLASH_Qpar : CLFlag<"Qpar">;
435 def _SLASH_Qpar_report : CLJoined<"Qpar-report">;
436 def _SLASH_Qsafe_fp_loads : CLFlag<"Qsafe_fp_loads">;
437 def _SLASH_Qspectre : CLFlag<"Qspectre">;
438 def _SLASH_Qvec_report : CLJoined<"Qvec-report">;
439 def _SLASH_u : CLFlag<"u">;
440 def _SLASH_V : CLFlag<"V">;
441 def _SLASH_WL : CLFlag<"WL">;
442 def _SLASH_Wp64 : CLFlag<"Wp64">;
443 def _SLASH_Yd : CLFlag<"Yd">;
444 def _SLASH_Yl : CLJoined<"Yl">;
445 def _SLASH_Za : CLFlag<"Za">;
446 def _SLASH_Zc : CLJoined<"Zc:">;
447 def _SLASH_Ze : CLFlag<"Ze">;
448 def _SLASH_Zg : CLFlag<"Zg">;
449 def _SLASH_ZI : CLFlag<"ZI">;
450 def _SLASH_ZW : CLJoined<"ZW">;