authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-26 16:49:49-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-26 16:49:49-07:00
log56311b8bbb3002c83010ee29a1580f3e7b02c46b
treed400ed37186a766d41827f593780c23789066756
parent0ca3582a86da377a25ea144acf94531dd8a28722

update clang options data to LLVM 16


2 files changed, 202 insertions(+), 70 deletions(-)

src/clang_options_data.zig+200-70
......@@ -1125,6 +1125,14 @@ flagpsl("MT"),
11251125 .pd2 = false,
11261126 .psl = true,
11271127},
1128.{
1129 .name = "arm64EC",
1130 .syntax = .flag,
1131 .zig_equivalent = .other,
1132 .pd1 = true,
1133 .pd2 = false,
1134 .psl = true,
1135},
11281136.{
11291137 .name = "await",
11301138 .syntax = .flag,
......@@ -1253,6 +1261,14 @@ flagpsl("MT"),
12531261 .pd2 = false,
12541262 .psl = true,
12551263},
1264.{
1265 .name = "fp:contract",
1266 .syntax = .flag,
1267 .zig_equivalent = .other,
1268 .pd1 = true,
1269 .pd2 = false,
1270 .psl = true,
1271},
12561272.{
12571273 .name = "fp:except",
12581274 .syntax = .flag,
......@@ -1941,14 +1957,6 @@ flagpsl("MT"),
19411957 .pd2 = true,
19421958 .psl = false,
19431959},
1944.{
1945 .name = "profile-blocks",
1946 .syntax = .flag,
1947 .zig_equivalent = .other,
1948 .pd1 = false,
1949 .pd2 = true,
1950 .psl = false,
1951},
19521960.{
19531961 .name = "resource",
19541962 .syntax = .separate,
......@@ -2106,11 +2114,9 @@ sepd1("analyzer-inlining-mode"),
21062114flagpd1("analyzer-list-enabled-checkers"),
21072115sepd1("analyzer-max-loop"),
21082116flagpd1("analyzer-opt-analyze-headers"),
2109flagpd1("analyzer-opt-analyze-nested-blocks"),
21102117sepd1("analyzer-output"),
21112118sepd1("analyzer-purge"),
21122119flagpd1("analyzer-stats"),
2113sepd1("analyzer-store"),
21142120flagpd1("analyzer-viz-egraph-graphviz"),
21152121flagpd1("analyzer-werror"),
21162122flagpd1("fslp-vectorize-aggressive"),
......@@ -2124,6 +2130,14 @@ flagpd1("grecord-gcc-switches"),
21242130flagpd1("gno-record-gcc-switches"),
21252131flagpd1("nocudainc"),
21262132flagpd1("nocudalib"),
2133.{
2134 .name = "print-multiarch",
2135 .syntax = .flag,
2136 .zig_equivalent = .other,
2137 .pd1 = true,
2138 .pd2 = true,
2139 .psl = false,
2140},
21272141.{
21282142 .name = "system-header-prefix",
21292143 .syntax = .separate,
......@@ -2269,6 +2283,8 @@ flagpd1("frecord-gcc-switches"),
22692283flagpd1("fno-record-gcc-switches"),
22702284flagpd1("fident"),
22712285flagpd1("fno-ident"),
2286flagpd1("Xparser"),
2287flagpd1("Xcompiler"),
22722288flagpd1("fexpensive-optimizations"),
22732289flagpd1("fno-expensive-optimizations"),
22742290flagpd1("fdefer-pop"),
......@@ -2276,10 +2292,18 @@ flagpd1("fno-defer-pop"),
22762292flagpd1("fextended-identifiers"),
22772293flagpd1("fno-extended-identifiers"),
22782294flagpd1("fno-sanitize-blacklist"),
2295.{
2296 .name = "config",
2297 .syntax = .separate,
2298 .zig_equivalent = .other,
2299 .pd1 = false,
2300 .pd2 = true,
2301 .psl = false,
2302},
22792303flagpd1("fcuda-rdc"),
2280flagpd1("fno-cuda-rdc"),
22812304flagpd1("fhonor-infinites"),
22822305flagpd1("fno-honor-infinites"),
2306flagpd1("fno-cuda-rdc"),
22832307flagpd1("findirect-virtual-calls"),
22842308sepd1("fnew-alignment"),
22852309flagpd1("faligned-new"),
......@@ -2298,6 +2322,7 @@ flagpd1("arch_errors_fatal"),
22982322sepd1("arch_only"),
22992323flagpd1("arcmt-migrate-emit-errors"),
23002324sepd1("arcmt-migrate-report-output"),
2325sepd1("as-secure-log-file"),
23012326flagpd1("ast-dump"),
23022327flagpd1("ast-dump-all"),
23032328flagpd1("ast-dump-decl-types"),
......@@ -2322,6 +2347,7 @@ sepd1("bundle_loader"),
23222347 .pd2 = false,
23232348 .psl = false,
23242349},
2350sepd1("c-isystem"),
23252351flagpd1("canonical-prefixes"),
23262352flagpd1("cc1"),
23272353flagpd1("cc1as"),
......@@ -2372,14 +2398,6 @@ flagpd1("compiler-options-dump"),
23722398 .pd2 = true,
23732399 .psl = false,
23742400},
2375.{
2376 .name = "config",
2377 .syntax = .separate,
2378 .zig_equivalent = .other,
2379 .pd1 = false,
2380 .pd2 = true,
2381 .psl = false,
2382},
23832401.{
23842402 .name = "coverage",
23852403 .syntax = .flag,
......@@ -2493,7 +2511,6 @@ flagpd1("ehcontguard"),
24932511flagpd1("emit-ast"),
24942512flagpd1("emit-codegen-only"),
24952513flagpd1("emit-fir"),
2496flagpd1("emit-header-module"),
24972514flagpd1("emit-header-unit"),
24982515flagpd1("emit-html"),
24992516flagpd1("emit-interface-stubs"),
......@@ -2580,7 +2597,6 @@ flagpd1("falign-loops"),
25802597flagpd1("faligned-allocation"),
25812598flagpd1("fall-intrinsics"),
25822599flagpd1("fallow-editor-placeholders"),
2583flagpd1("fallow-half-arguments-and-returns"),
25842600flagpd1("fallow-pch-with-different-modules-cache-path"),
25852601flagpd1("fallow-pch-with-compiler-errors"),
25862602flagpd1("fallow-pcm-with-compiler-errors"),
......@@ -2668,7 +2684,6 @@ flagpd1("fcheck-array-temporaries"),
26682684flagpd1("fcommon"),
26692685flagpd1("fcompatibility-qualified-id-block-type-checking"),
26702686flagpd1("fcomplete-member-pointers"),
2671flagpd1("fconcepts-ts"),
26722687flagpd1("fconst-strings"),
26732688flagpd1("fconstant-cfstrings"),
26742689sepd1("fconstant-string-class"),
......@@ -2676,11 +2691,14 @@ sepd1("fconstexpr-backtrace-limit"),
26762691sepd1("fconstexpr-depth"),
26772692sepd1("fconstexpr-steps"),
26782693flagpd1("fconvergent-functions"),
2694flagpd1("fcoro-aligned-allocation"),
26792695flagpd1("fcoroutines-ts"),
26802696flagpd1("fcoverage-mapping"),
2697flagpd1("fcrash-diagnostics"),
26812698flagpd1("fcray-pointer"),
26822699flagpd1("fcreate-profile"),
26832700flagpd1("fcs-profile-generate"),
2701flagpd1("fctor-dtor-return-this"),
26842702flagpd1("fcuda-allow-variadic-functions"),
26852703flagpd1("fcuda-approx-transcendentals"),
26862704flagpd1("fcuda-flush-denormals-to-zero"),
......@@ -2770,11 +2788,14 @@ flagpd1("fencode-extended-block-signature"),
27702788sepd1("ferror-limit"),
27712789flagpd1("fescaping-block-tail-calls"),
27722790flagpd1("fexceptions"),
2791flagpd1("fexperimental-assignment-tracking"),
27732792flagpd1("fexperimental-isel"),
27742793flagpd1("fexperimental-library"),
27752794flagpd1("fexperimental-new-constant-interpreter"),
2776flagpd1("fexperimental-new-pass-manager"),
27772795flagpd1("fexperimental-relative-c++-abi-vtables"),
2796flagpd1("fexperimental-sanitize-metadata=atomics"),
2797flagpd1("fexperimental-sanitize-metadata=covered"),
2798flagpd1("fexperimental-sanitize-metadata=uar"),
27782799flagpd1("fexperimental-strict-floating-point"),
27792800flagpd1("fexternal-blas"),
27802801flagpd1("fexternc-nounwind"),
......@@ -2901,6 +2922,7 @@ flagpd1("fimplicit-modules"),
29012922flagpd1("fimplicit-none"),
29022923flagpd1("fimplicit-templates"),
29032924flagpd1("finclude-default-header"),
2925flagpd1("fincremental-extensions"),
29042926flagpd1("finit-local-zero"),
29052927flagpd1("finline"),
29062928flagpd1("finline-functions"),
......@@ -2958,6 +2980,7 @@ flagpd1("fmodule-header"),
29582980sepd1("fmodule-implementation-of"),
29592981flagpd1("fmodule-map-file-home-is-cwd"),
29602982flagpd1("fmodule-maps"),
2983flagpd1("fmodule-output"),
29612984flagpd1("fmodule-private"),
29622985flagpd1("fmodules"),
29632986flagpd1("fmodules-codegen"),
......@@ -3071,6 +3094,7 @@ flagpd1("fno-common"),
30713094flagpd1("fno-complete-member-pointers"),
30723095flagpd1("fno-const-strings"),
30733096flagpd1("fno-constant-cfstrings"),
3097flagpd1("fno-coro-aligned-allocation"),
30743098flagpd1("fno-coroutines-ts"),
30753099flagpd1("fno-coverage-mapping"),
30763100flagpd1("fno-crash-diagnostics"),
......@@ -3122,6 +3146,7 @@ flagpd1("fno-eliminate-unused-debug-types"),
31223146flagpd1("fno-emulated-tls"),
31233147flagpd1("fno-escaping-block-tail-calls"),
31243148flagpd1("fno-exceptions"),
3149flagpd1("fno-experimental-assignment-tracking"),
31253150flagpd1("fno-experimental-isel"),
31263151flagpd1("fno-experimental-library"),
31273152flagpd1("fno-experimental-relative-c++-abi-vtables"),
......@@ -3194,7 +3219,6 @@ flagpd1("fno-jump-tables"),
31943219flagpd1("fno-keep-static-consts"),
31953220flagpd1("fno-knr-functions"),
31963221flagpd1("fno-lax-vector-conversions"),
3197flagpd1("fno-legacy-pass-manager"),
31983222flagpd1("fno-limit-debug-info"),
31993223flagpd1("fno-logical-abbreviations"),
32003224.{
......@@ -3222,9 +3246,11 @@ flagpd1("fno-modules-decluse"),
32223246flagpd1("fno-modules-error-recovery"),
32233247flagpd1("fno-modules-global-index"),
32243248flagpd1("fno-modules-search-all"),
3249flagpd1("fno-modules-share-filemanager"),
32253250flagpd1("fno-strict-modules-decluse"),
32263251flagpd1("fno_modules-validate-input-files-content"),
32273252flagpd1("fno-modules-validate-system-headers"),
3253flagpd1("fno-modules-validate-textual-header-includes"),
32283254flagpd1("fno-modulo-sched"),
32293255flagpd1("fno-modulo-sched-allow-regmoves"),
32303256flagpd1("fno-ms-compatibility"),
......@@ -3253,7 +3279,6 @@ flagpd1("fno-offload-lto"),
32533279flagpd1("fno-openmp"),
32543280flagpd1("fno-openmp-assume-teams-oversubscription"),
32553281flagpd1("fno-openmp-assume-threads-oversubscription"),
3256flagpd1("fno-openmp-cuda-force-full-runtime"),
32573282flagpd1("fno-openmp-cuda-mode"),
32583283flagpd1("fno-openmp-extensions"),
32593284flagpd1("fno-openmp-implicit-rpath"),
......@@ -3261,6 +3286,7 @@ flagpd1("fno-openmp-new-driver"),
32613286flagpd1("fno-openmp-optimistic-collapse"),
32623287flagpd1("fno-openmp-simd"),
32633288flagpd1("fno-openmp-target-debug"),
3289flagpd1("fno-openmp-target-jit"),
32643290flagpd1("fno-openmp-target-new-runtime"),
32653291flagpd1("fno-operator-names"),
32663292flagpd1("fno-optimize-sibling-calls"),
......@@ -3512,10 +3538,10 @@ flagpd1("foffload-lto"),
35123538},
35133539flagpd1("fopenacc"),
35143540flagpd1("fopenmp"),
3541flagpd1("fopenmp-assume-no-nested-parallelism"),
35153542flagpd1("fopenmp-assume-no-thread-state"),
35163543flagpd1("fopenmp-assume-teams-oversubscription"),
35173544flagpd1("fopenmp-assume-threads-oversubscription"),
3518flagpd1("fopenmp-cuda-force-full-runtime"),
35193545flagpd1("fopenmp-cuda-mode"),
35203546flagpd1("fopenmp-enable-irbuilder"),
35213547flagpd1("fopenmp-extensions"),
......@@ -3528,6 +3554,7 @@ flagpd1("fopenmp-optimistic-collapse"),
35283554flagpd1("fopenmp-relocatable-target"),
35293555flagpd1("fopenmp-simd"),
35303556flagpd1("fopenmp-target-debug"),
3557flagpd1("fopenmp-target-jit"),
35313558flagpd1("fopenmp-target-new-runtime"),
35323559flagpd1("fopenmp-use-tls"),
35333560sepd1("foperator-arrow-depth"),
......@@ -3626,6 +3653,7 @@ flagpd1("frtlib-add-rpath"),
36263653flagpd1("frtti"),
36273654flagpd1("frtti-data"),
36283655flagpd1("frwpi"),
3656flagpd1("fsample-profile-use-profi"),
36293657flagpd1("fsanitize-address-globals-dead-stripping"),
36303658flagpd1("fsanitize-address-outline-instrumentation"),
36313659flagpd1("fsanitize-address-poison-custom-array-cookie"),
......@@ -3635,6 +3663,7 @@ flagpd1("fsanitize-cfi-canonical-jump-tables"),
36353663flagpd1("fsanitize-cfi-cross-dso"),
36363664flagpd1("fsanitize-cfi-icall-generalize-pointers"),
36373665flagpd1("fsanitize-coverage-8bit-counters"),
3666flagpd1("fsanitize-coverage-control-flow"),
36383667flagpd1("fsanitize-coverage-indirect-calls"),
36393668flagpd1("fsanitize-coverage-inline-8bit-counters"),
36403669flagpd1("fsanitize-coverage-inline-bool-flag"),
......@@ -3761,7 +3790,6 @@ flagpd1("ftree-ter"),
37613790flagpd1("ftree-vectorizer-verbose"),
37623791flagpd1("ftree-vrp"),
37633792flagpd1("ftrigraphs"),
3764sepd1("ftype-visibility"),
37653793sepd1("function-alignment"),
37663794flagpd1("funderscoring"),
37673795flagpd1("funique-basic-block-section-names"),
......@@ -3796,7 +3824,6 @@ flagpd1("fvectorize"),
37963824flagpd1("fverbose-asm"),
37973825flagpd1("fverify-debuginfo-preserve"),
37983826flagpd1("fvirtual-function-elimination"),
3799sepd1("fvisibility"),
38003827flagpd1("fvisibility-from-dllstorageclass"),
38013828flagpd1("fvisibility-global-new-delete-hidden"),
38023829flagpd1("fvisibility-inlines-hidden"),
......@@ -3839,6 +3866,7 @@ flagpd1("g3"),
38393866 .psl = false,
38403867},
38413868flagpd1("gcodeview"),
3869flagpd1("gcodeview-command-line"),
38423870flagpd1("gcodeview-ghash"),
38433871flagpd1("gcolumn-info"),
38443872flagpd1("gdbx"),
......@@ -3873,11 +3901,13 @@ flagpd1("gline-directives-only"),
38733901flagpd1("glldb"),
38743902flagpd1("gmlt"),
38753903flagpd1("gmodules"),
3904flagpd1("gno-codeview-command-line"),
38763905flagpd1("gno-codeview-ghash"),
38773906flagpd1("gno-column-info"),
38783907flagpd1("gno-embed-source"),
38793908flagpd1("gno-gnu-pubnames"),
38803909flagpd1("gno-inline-line-tables"),
3910flagpd1("gno-modules"),
38813911flagpd1("gno-pubnames"),
38823912flagpd1("gno-record-command-line"),
38833913flagpd1("gno-simple-template-names"),
......@@ -3940,6 +3970,8 @@ flagpd1("init-only"),
39403970 .pd2 = false,
39413971 .psl = false,
39423972},
3973sepd1("internal-externc-isystem"),
3974sepd1("internal-isystem"),
39433975flagpd1("keep_private_externs"),
39443976sepd1("lazy_framework"),
39453977sepd1("lazy_library"),
......@@ -3970,6 +4002,8 @@ flagpd1("malign-double"),
39704002m("maltivec"),
39714003flagpd1("mamdgpu-ieee"),
39724004m("mamx-bf16"),
4005flagpd1("mamx-fp16"),
4006m("mamx-int8"),
39734007m("mamx-tile"),
39744008flagpd1("marm"),
39754009flagpd1("massembler-fatal-warnings"),
......@@ -3993,7 +4027,10 @@ m("mavx512vl"),
39934027m("mavx512vnni"),
39944028m("mavx512vp2intersect"),
39954029m("mavx512vpopcntdq"),
4030flagpd1("mavxifma"),
4031flagpd1("mavxneconvert"),
39964032m("mavxvnni"),
4033flagpd1("mavxvnniint8"),
39974034flagpd1("mbackchain"),
39984035flagpd1("mbig-endian"),
39994036m("mbmi"),
......@@ -4010,6 +4047,7 @@ m("mclzero"),
40104047flagpd1("mcmodel=medany"),
40114048flagpd1("mcmodel=medlow"),
40124049m("mcmpb"),
4050flagpd1("mcmpccxadd"),
40134051flagpd1("mcmse"),
40144052flagpd1("mcode-object-v3"),
40154053flagpd1("mconstant-cfstrings"),
......@@ -4031,7 +4069,6 @@ flagpd1("membedded-data"),
40314069flagpd1("menable-experimental-extensions"),
40324070flagpd1("menable-no-infs"),
40334071flagpd1("menable-no-nans"),
4034flagpd1("menable-unsafe-fp-math"),
40354072m("menqcmd"),
40364073m("mexception-handling"),
40374074m("mexecute-only"),
......@@ -4054,8 +4091,10 @@ flagpd1("mfp32"),
40544091m("mfp64"),
40554092sepd1("mfpmath"),
40564093m("mfprnd"),
4094m("mfpu"),
40574095m("mfpxx"),
40584096m("mfsgsbase"),
4097flagpd1("mfsmuld"),
40594098m("mfxsr"),
40604099flagpd1("mgeneral-regs-only"),
40614100m("mgfni"),
......@@ -4064,13 +4103,13 @@ flagpd1("mglibc"),
40644103flagpd1("mglobal-merge"),
40654104flagpd1("mgpopt"),
40664105m("mhard-float"),
4106m("mhard-quad-float"),
40674107m("mhvx"),
40684108m("mhvx-ieee-fp"),
40694109m("mhvx-qfloat"),
40704110m("mhreset"),
40714111m("mhtm"),
40724112flagpd1("miamcu"),
4073flagpd1("mibt-seal"),
40744113flagpd1("mieee-fp"),
40754114flagpd1("mieee-rnd-near"),
40764115flagpd1("mignore-xcoff-visibility"),
......@@ -4079,6 +4118,7 @@ flagpd1("no-finalize-removal"),
40794118flagpd1("no-ns-alloc-error"),
40804119flagpd1("mimplicit-float"),
40814120flagpd1("mincremental-linker-compatible"),
4121flagpd1("mindirect-branch-cs-prefix"),
40824122flagpd1("minline-all-stringops"),
40834123m("minvariant-function-descriptors"),
40844124m("minvpcid"),
......@@ -4105,7 +4145,6 @@ flagpd1("mldc1-sdc1"),
41054145sepd1("mlimit-float-precision"),
41064146sepd1("mlink-bitcode-file"),
41074147sepd1("mlink-builtin-bitcode"),
4108sepd1("mlink-cuda-bitcode"),
41094148flagpd1("mlittle-endian"),
41104149sepd1("mllvm"),
41114150flagpd1("mlocal-sdata"),
......@@ -4146,6 +4185,7 @@ m("mno-aes"),
41464185m("mno-altivec"),
41474186flagpd1("mno-amdgpu-ieee"),
41484187m("mno-amx-bf16"),
4188flagpd1("mno-amx-fp16"),
41494189m("mno-amx-int8"),
41504190m("mno-amx-tile"),
41514191m("mno-atomics"),
......@@ -4167,7 +4207,10 @@ m("mno-avx512vl"),
41674207m("mno-avx512vnni"),
41684208m("mno-avx512vp2intersect"),
41694209m("mno-avx512vpopcntdq"),
4210flagpd1("mno-avxifma"),
4211flagpd1("mno-avxneconvert"),
41704212m("mno-avxvnni"),
4213flagpd1("mno-avxvnniint8"),
41714214flagpd1("mno-backchain"),
41724215m("mno-bmi"),
41734216m("mno-bmi2"),
......@@ -4180,6 +4223,7 @@ m("mno-clflushopt"),
41804223m("mno-clwb"),
41814224m("mno-clzero"),
41824225m("mno-cmpb"),
4226flagpd1("mno-cmpccxadd"),
41834227flagpd1("mno-code-object-v3"),
41844228flagpd1("mno-constant-cfstrings"),
41854229flagpd1("mno-constructor-aliases"),
......@@ -4205,9 +4249,12 @@ flagpd1("mno-fix-cortex-a72-aes-1655431"),
42054249m("mno-float128"),
42064250m("mno-fma"),
42074251m("mno-fma4"),
4252flagpd1("mno-fmv"),
42084253flagpd1("mno-fp-ret-in-387"),
42094254m("mno-fprnd"),
4255m("mno-fpu"),
42104256m("mno-fsgsbase"),
4257m("mno-fsmuld"),
42114258m("mno-fxsr"),
42124259m("mno-gfni"),
42134260m("mno-ginv"),
......@@ -4267,17 +4314,21 @@ flagpd1("mno-pascal-strings"),
42674314m("mno-pclmul"),
42684315m("mno-pconfig"),
42694316flagpd1("mno-pcrel"),
4317flagpd1("mno-pic-data-is-text-relative"),
42704318m("mno-pku"),
4319m("mno-popc"),
42714320m("mno-popcnt"),
42724321m("mno-popcntd"),
42734322m("mno-power10-vector"),
42744323m("mno-power8-vector"),
42754324m("mno-power9-vector"),
4325flagpd1("mno-prefetchi"),
42764326m("mno-prefetchwt1"),
42774327flagpd1("mno-prefixed"),
42784328m("mno-prfchw"),
42794329m("mno-ptwrite"),
42804330flagpd1("mno-pure-code"),
4331flagpd1("mno-raoint"),
42814332m("mno-rdpid"),
42824333m("mno-rdpru"),
42834334m("mno-rdrnd"),
......@@ -4329,11 +4380,15 @@ m("mno-tgsplit"),
43294380flagpd1("mno-thumb"),
43304381flagpd1("mno-tls-direct-seg-refs"),
43314382m("mno-tsxldtrk"),
4383flagpd1("mno-type-check"),
43324384m("mno-uintr"),
43334385flagpd1("mno-unaligned-access"),
43344386flagpd1("mno-unsafe-fp-atomics"),
43354387m("mno-vaes"),
43364388m("mno-virt"),
4389m("mno-vis"),
4390m("mno-vis2"),
4391m("mno-vis3"),
43374392m("mno-vpclmulqdq"),
43384393m("mno-vsx"),
43394394flagpd1("mno-vx"),
......@@ -4374,13 +4429,16 @@ flagpd1("mpascal-strings"),
43744429m("mpclmul"),
43754430m("mpconfig"),
43764431flagpd1("mpcrel"),
4432flagpd1("mpic-data-is-text-relative"),
43774433m("mpku"),
4434m("mpopc"),
43784435m("mpopcnt"),
43794436m("mpopcntd"),
43804437m("mpower10-vector"),
43814438m("mcrypto"),
43824439m("mpower8-vector"),
43834440m("mpower9-vector"),
4441flagpd1("mprefetchi"),
43844442m("mprefetchwt1"),
43854443flagpd1("mprefixed"),
43864444m("mprfchw"),
......@@ -4388,6 +4446,7 @@ m("mprivileged"),
43884446m("mptwrite"),
43894447flagpd1("mpure-code"),
43904448flagpd1("mqdsp6-compat"),
4449flagpd1("mraoint"),
43914450m("mrdpid"),
43924451m("mrdpru"),
43934452m("mrdrnd"),
......@@ -4408,14 +4467,7 @@ sepd1("mregparm"),
44084467m("mrelax"),
44094468flagpd1("mrelax-all"),
44104469flagpd1("mrelax-pic-calls"),
4411.{
4412 .name = "mrelax-relocations",
4413 .syntax = .flag,
4414 .zig_equivalent = .other,
4415 .pd1 = false,
4416 .pd2 = true,
4417 .psl = false,
4418},
4470flagpd1("mrelax-relocations=no"),
44194471m("mrelaxed-simd"),
44204472sepd1("mrelocation-model"),
44214473flagpd1("mrestrict-it"),
......@@ -4439,6 +4491,7 @@ m("msingle-float"),
44394491flagpd1("mskip-rax-setup"),
44404492sepd1("msmall-data-limit"),
44414493m("msoft-float"),
4494flagpd1("msoft-quad-float"),
44424495m("mspe"),
44434496flagpd1("mspeculative-load-hardening"),
44444497m("msse"),
......@@ -4455,7 +4508,6 @@ m("mstrict-align"),
44554508flagpd1("msvr4-struct-return"),
44564509sepd1("mt-migrate-directory"),
44574510m("mtail-call"),
4458m("mamx-int8"),
44594511m("mtbm"),
44604512m("mtgsplit"),
44614513sepd1("mthread-model"),
......@@ -4481,8 +4533,14 @@ m("mv67"),
44814533flagpd1("mv67t"),
44824534m("mv68"),
44834535m("mv69"),
4536flagpd1("mv71"),
4537flagpd1("mv71t"),
4538flagpd1("mv73"),
44844539m("mvaes"),
44854540m("mvirt"),
4541m("mvis"),
4542m("mvis2"),
4543m("mvis3"),
44864544m("mvpclmulqdq"),
44874545m("mvsx"),
44884546flagpd1("mvx"),
......@@ -4525,6 +4583,14 @@ flagpd1("no-cpp-precomp"),
45254583 .pd2 = true,
45264584 .psl = false,
45274585},
4586.{
4587 .name = "no-default-config",
4588 .syntax = .flag,
4589 .zig_equivalent = .other,
4590 .pd1 = false,
4591 .pd2 = true,
4592 .psl = false,
4593},
45284594flagpd1("no-emit-llvm-uselists"),
45294595flagpd1("no-enable-noundef-analysis"),
45304596.{
......@@ -4545,6 +4611,14 @@ flagpd1("no-implicit-float"),
45454611 .pd2 = true,
45464612 .psl = false,
45474613},
4614.{
4615 .name = "no-offload-add-rpath",
4616 .syntax = .flag,
4617 .zig_equivalent = .other,
4618 .pd1 = false,
4619 .pd2 = true,
4620 .psl = false,
4621},
45484622.{
45494623 .name = "no-offload-new-driver",
45504624 .syntax = .flag,
......@@ -4643,6 +4717,7 @@ flagpd1("nostartfiles"),
46434717 .psl = false,
46444718},
46454719flagpd1("nostdsysteminc"),
4720sepd1("objc-isystem"),
46464721flagpd1("objcmt-atomic-property"),
46474722flagpd1("objcmt-migrate-all"),
46484723flagpd1("objcmt-migrate-annotation"),
......@@ -4658,8 +4733,17 @@ flagpd1("objcmt-migrate-readwrite-property"),
46584733flagpd1("objcmt-migrate-subscripting"),
46594734flagpd1("objcmt-ns-nonatomic-iosonly"),
46604735flagpd1("objcmt-returns-innerpointer-property"),
4736sepd1("objcxx-isystem"),
46614737flagpd1("object"),
46624738sepd1("object-file-name"),
4739.{
4740 .name = "offload-add-rpath",
4741 .syntax = .flag,
4742 .zig_equivalent = .other,
4743 .pd1 = false,
4744 .pd2 = true,
4745 .psl = false,
4746},
46634747.{
46644748 .name = "offload-device-only",
46654749 .syntax = .flag,
......@@ -4805,14 +4889,6 @@ flagpd1("print-ivar-layout"),
48054889 .pd2 = true,
48064890 .psl = false,
48074891},
4808.{
4809 .name = "print-multiarch",
4810 .syntax = .flag,
4811 .zig_equivalent = .other,
4812 .pd1 = true,
4813 .pd2 = true,
4814 .psl = false,
4815},
48164892flagpd1("print-preamble"),
48174893.{
48184894 .name = "print-resource-dir",
......@@ -5010,6 +5086,7 @@ flagpd1("show-encoding"),
50105086},
50115087flagpd1("show-inst"),
50125088flagpd1("single_module"),
5089sepd1("source-date-epoch"),
50135090.{
50145091 .name = "specs",
50155092 .syntax = .separate,
......@@ -5153,6 +5230,7 @@ sepd1("weak_reference_mismatches"),
51535230flagpd1("whatsloaded"),
51545231flagpd1("why_load"),
51555232flagpd1("whyload"),
5233sepd1("working-directory"),
51565234.{
51575235 .name = "z",
51585236 .syntax = .separate,
......@@ -5165,6 +5243,14 @@ joinpd1("fsanitize-undefined-strip-path-components="),
51655243joinpd1("fopenmp-cuda-teams-reduction-recs-num="),
51665244joinpd1("fvisibility-externs-nodllstorageclass="),
51675245joinpd1("analyzer-config-compatibility-mode="),
5246.{
5247 .name = "fno-experimental-sanitize-metadata=",
5248 .syntax = .comma_joined,
5249 .zig_equivalent = .other,
5250 .pd1 = true,
5251 .pd2 = false,
5252 .psl = false,
5253},
51685254joinpd1("mdefault-visibility-export-mapping="),
51695255joinpd1("fsanitize-address-use-after-return="),
51705256.{
......@@ -5182,6 +5268,14 @@ joinpd1("fdiagnostics-misexpect-tolerance="),
51825268joinpd1("fpatchable-function-entry-offset="),
51835269joinpd1("fprofile-selected-function-group="),
51845270joinpd1("analyzer-inline-max-stack-depth="),
5271.{
5272 .name = "fexperimental-sanitize-metadata=",
5273 .syntax = .comma_joined,
5274 .zig_equivalent = .other,
5275 .pd1 = true,
5276 .pd2 = false,
5277 .psl = false,
5278},
51855279joinpd1("fsanitize-address-field-padding="),
51865280.{
51875281 .name = "fno-sanitize-address-vcasan-lib",
......@@ -5211,19 +5305,17 @@ joinpd1("mstack-protector-guard-symbol="),
52115305 .psl = true,
52125306},
52135307joinpd1("miphonesimulator-version-min="),
5214joinpd1("fsanitize-coverage-whitelist="),
5215joinpd1("fsanitize-coverage-blacklist="),
52165308joinpd1("fobjc-nonfragile-abi-version="),
52175309joinpd1("fprofile-instrument-use-path="),
52185310joinpd1("fsanitize-coverage-allowlist="),
5219jspd1("fxray-instrumentation-bundle="),
5311joinpd1("fxray-instrumentation-bundle="),
52205312joinpd1("fsanitize-address-destructor="),
52215313joinpd1("faddress-space-map-mangling="),
52225314joinpd1("foptimization-record-passes="),
52235315joinpd1("frandomize-layout-seed-file="),
52245316joinpd1("fsanitize-system-ignorelist="),
52255317joinpd1("ftest-module-file-extension="),
5226jspd1("fxray-instruction-threshold="),
5318joinpd1("fxray-instruction-threshold="),
52275319.{
52285320 .name = "libomptarget-amdgcn-bc-path=",
52295321 .syntax = .joined,
......@@ -5258,7 +5350,6 @@ joinpd1("fconstexpr-backtrace-limit="),
52585350joinpd1("fdiagnostics-show-category="),
52595351joinpd1("fdiagnostics-show-location="),
52605352joinpd1("fopenmp-cuda-blocks-per-sm="),
5261jspd1("fxray-instruction-threshold"),
52625353.{
52635354 .name = "headerpad_max_install_names",
52645355 .syntax = .joined,
......@@ -5287,6 +5378,7 @@ joinpd1("mstack-protector-guard-reg="),
52875378},
52885379joinpd1("objcmt-whitelist-dir-path="),
52895380joinpd1("fcoverage-compilation-dir="),
5381joinpd1("ffloat16-excess-precision="),
52905382joinpd1("fms-compatibility-version="),
52915383joinpd1("fopenmp-cuda-number-of-sm="),
52925384joinpd1("foptimization-record-file="),
......@@ -5307,6 +5399,7 @@ joinpd1("analyzer-disable-checker="),
53075399joinpd1("fbuild-session-timestamp="),
53085400joinpd1("fprofile-function-groups="),
53095401joinpd1("fprofile-instrument-path="),
5402joinpd1("header-include-filtering="),
53105403joinpd1("mdefault-build-attributes"),
53115404joinpd1("msign-return-address-key="),
53125405.{
......@@ -5350,8 +5443,7 @@ joinpd1("fprofile-remapping-file="),
53505443joinpd1("fsanitize-coverage-type="),
53515444joinpd1("fsanitize-hwaddress-abi="),
53525445joinpd1("ftime-trace-granularity="),
5353jspd1("fxray-always-instrument="),
5354jspd1("internal-externc-isystem"),
5446joinpd1("fxray-always-instrument="),
53555447.{
53565448 .name = "no-system-header-prefix=",
53575449 .syntax = .joined,
......@@ -5379,7 +5471,7 @@ joinpd1("fmax-array-constructor="),
53795471joinpd1("fprofile-exclude-files="),
53805472joinpd1("frandomize-layout-seed="),
53815473joinpd1("ftrivial-auto-var-init="),
5382jspd1("fxray-never-instrument="),
5474joinpd1("fxray-never-instrument="),
53835475joinpd1("gsimple-template-names="),
53845476jspd1("interface-stub-version="),
53855477joinpd1("malign-branch-boundary="),
......@@ -5393,6 +5485,7 @@ joinpd1("fdenormal-fp-math-f32="),
53935485joinpd1("fembed-offload-object="),
53945486joinpd1("ffile-compilation-dir="),
53955487joinpd1("fgpu-inline-threshold="),
5488joinpd1("finline-max-stacksize="),
53965489joinpd1("fmax-subrecord-length="),
53975490joinpd1("fmodules-ignore-macro="),
53985491.{
......@@ -5411,6 +5504,7 @@ joinpd1("fsanitize-memtag-mode="),
54115504joinpd1("fspell-checking-limit="),
54125505joinpd1("fvisibility-dllexport="),
54135506joinpd1("fxray-function-groups="),
5507joinpd1("header-include-format="),
54145508joinpd1("msmall-data-threshold="),
54155509joinpd1("Wlarge-by-value-copy="),
54165510joinpd1("analyzer-constraints="),
......@@ -5473,12 +5567,21 @@ joinpd1("fsanitize-blacklist="),
54735567 .psl = false,
54745568},
54755569joinpd1("coverage-notes-file="),
5570.{
5571 .name = "extract-api-ignores=",
5572 .syntax = .joined,
5573 .zig_equivalent = .other,
5574 .pd1 = false,
5575 .pd2 = true,
5576 .psl = false,
5577},
54765578joinpd1("fbuild-session-file="),
54775579joinpd1("fdiagnostics-format="),
54785580joinpd1("fgpu-default-stream="),
54795581joinpd1("fmax-stack-var-size="),
54805582joinpd1("fmodules-cache-path="),
54815583joinpd1("fmodules-embed-file="),
5584joinpd1("fms-omit-default-lib"),
54825585joinpd1("fprofile-instrument="),
54835586joinpd1("fprofile-sample-use="),
54845587joinpd1("fstrict-flex-arrays="),
......@@ -5494,6 +5597,7 @@ joinpd1("Wframe-larger-than="),
54945597joinpd1("code-completion-at="),
54955598joinpd1("coverage-data-file="),
54965599joinpd1("fblas-matmul-limit="),
5600joinpd1("fcrash-diagnostics="),
54975601joinpd1("fdiagnostics-color="),
54985602joinpd1("femit-dwarf-unwind="),
54995603joinpd1("ffixed-line-length="),
......@@ -5632,6 +5736,7 @@ joinpd1("ffile-prefix-map="),
56325736joinpd1("fmodule-map-file="),
56335737joinpd1("fobjc-arc-cxxlib="),
56345738joinpd1("fproc-stat-report"),
5739joinpd1("ftype-visibility="),
56355740joinpd1("fwarn-stack-size="),
56365741jspd1("iwithprefixbefore"),
56375742joinpd1("malign-functions="),
......@@ -5648,7 +5753,6 @@ joinpd1("msve-vector-bits="),
56485753 .psl = false,
56495754},
56505755joinpd1("object-file-name="),
5651jspd1("working-directory"),
56525756.{
56535757 .name = "headerUnit:angle",
56545758 .syntax = .joined_or_separate,
......@@ -5684,6 +5788,7 @@ joinpd1("finit-character="),
56845788joinpd1("fmax-type-align="),
56855789joinpd1("fmemory-profile="),
56865790joinpd1("fmessage-length="),
5791joinpd1("fms-runtime-lib="),
56875792.{
56885793 .name = "fopenmp-targets=",
56895794 .syntax = .comma_joined,
......@@ -5698,8 +5803,15 @@ joinpd1("fshow-overloads="),
56985803joinpd1("fswift-async-fp="),
56995804joinpd1("ftemplate-depth-"),
57005805joinpd1("ftemplate-depth="),
5701jspd1("fxray-attr-list="),
5702jspd1("internal-isystem"),
5806joinpd1("fxray-attr-list="),
5807.{
5808 .name = "gcc-install-dir=",
5809 .syntax = .joined,
5810 .zig_equivalent = .other,
5811 .pd1 = false,
5812 .pd2 = true,
5813 .psl = false,
5814},
57035815joinpd1("mlinker-version="),
57045816.{
57055817 .name = "no-offload-arch=",
......@@ -5709,6 +5821,14 @@ joinpd1("mlinker-version="),
57095821 .pd2 = true,
57105822 .psl = false,
57115823},
5824.{
5825 .name = "nvptx-arch-tool=",
5826 .syntax = .joined,
5827 .zig_equivalent = .other,
5828 .pd1 = false,
5829 .pd2 = true,
5830 .psl = false,
5831},
57125832.{
57135833 .name = "print-file-name=",
57145834 .syntax = .joined,
......@@ -5776,7 +5896,6 @@ joinpd1("Rpass-analysis="),
57765896 .psl = false,
57775897},
57785898joinpd1("analyzer-purge="),
5779joinpd1("analyzer-store="),
57805899jspd1("current_version"),
57815900joinpd1("fbootclasspath="),
57825901joinpd1("fbracket-depth="),
......@@ -5786,6 +5905,7 @@ joinpd1("fembed-bitcode="),
57865905joinpd1("finput-charset="),
57875906joinpd1("fmodule-format="),
57885907joinpd1("fmodule-header="),
5908joinpd1("fmodule-output="),
57895909joinpd1("fms-memptr-rep="),
57905910joinpd1("fnew-alignment="),
57915911joinpd1("frecord-marker="),
......@@ -5895,7 +6015,6 @@ joinpd1("fprofile-list="),
58956015 .pd2 = false,
58966016 .psl = false,
58976017},
5898jspd1("objcxx-isystem"),
58996018joinpd1("vtordisp-mode="),
59006019joinpd1("Rpass-missed="),
59016020joinpd1("Wlarger-than-"),
......@@ -6020,7 +6139,7 @@ joinpd1("fplugin-arg-"),
60206139joinpd1("ftime-trace="),
60216140joinpd1("fvisibility="),
60226141joinpd1("fwchar-type="),
6023jspd1("fxray-modes="),
6142joinpd1("fxray-modes="),
60246143.{
60256144 .name = "hip-version=",
60266145 .syntax = .joined,
......@@ -6042,7 +6161,6 @@ joinpd1("mharden-sls="),
60426161joinpd1("mhvx-length="),
60436162joinpd1("mvscale-max="),
60446163joinpd1("mvscale-min="),
6045jspd1("objc-isystem"),
60466164.{
60476165 .name = "rsp-quoting=",
60486166 .syntax = .joined,
......@@ -6222,6 +6340,7 @@ joinpd1("flto-jobs="),
62226340 .psl = false,
62236341},
62246342joinpd1("fuse-cuid="),
6343joinpd1("gsrc-hash="),
62256344jspd1("iframework"),
62266345jspd1("module-dir"),
62276346joinpd1("mtargetos="),
......@@ -6316,7 +6435,6 @@ joinpd1("segs_read_"),
63166435 .psl = false,
63176436},
63186437joinpd1("ast-dump="),
6319jspd1("c-isystem"),
63206438joinpd1("fcoarray="),
63216439joinpd1("fconvert="),
63226440joinpd1("fc++-abi="),
......@@ -6436,6 +6554,7 @@ jspd1("seg1addr"),
64366554 .pd2 = true,
64376555 .psl = false,
64386556},
6557joinpd1("Xclang="),
64396558.{
64406559 .name = "cl-ext=",
64416560 .syntax = .comma_joined,
......@@ -6445,6 +6564,14 @@ jspd1("seg1addr"),
64456564 .psl = false,
64466565},
64476566joinpd1("cl-std="),
6567.{
6568 .name = "config=",
6569 .syntax = .joined,
6570 .zig_equivalent = .other,
6571 .pd1 = false,
6572 .pd2 = true,
6573 .psl = false,
6574},
64486575joinpd1("fcheck="),
64496576.{
64506577 .name = "imacros",
......@@ -6464,6 +6591,7 @@ joinpd1("fcheck="),
64646591},
64656592jspd1("iprefix"),
64666593jspd1("isystem"),
6594joinpd1("mguard="),
64676595joinpd1("mhwdiv="),
64686596joinpd1("moslib="),
64696597.{
......@@ -6608,8 +6736,6 @@ jspd1("iquote"),
66086736 .pd2 = false,
66096737 .psl = false,
66106738},
6611jspd1("Tdata"),
6612jspd1("Ttext"),
66136739.{
66146740 .name = "arch:",
66156741 .syntax = .joined,
......@@ -6675,7 +6801,6 @@ joinpd1("mfpu="),
66756801joinpd1("mhvx="),
66766802joinpd1("mmcu="),
66776803joinpd1("mnan="),
6678jspd1("Tbss"),
66796804.{
66806805 .name = "link",
66816806 .syntax = .remaining_args_joined,
......@@ -7011,6 +7136,14 @@ joinpd1("G="),
70117136 .pd2 = false,
70127137 .psl = true,
70137138},
7139.{
7140 .name = "d1",
7141 .syntax = .joined,
7142 .zig_equivalent = .other,
7143 .pd1 = true,
7144 .pd2 = false,
7145 .psl = true,
7146},
70147147.{
70157148 .name = "d2",
70167149 .syntax = .joined,
......@@ -7077,8 +7210,6 @@ joinpd1("R"),
70777210jspd1("U"),
70787211jspd1("V"),
70797212joinpd1("W"),
7080joinpd1("X"),
7081joinpd1("Z"),
70827213.{
70837214 .name = "D",
70847215 .syntax = .joined_or_separate,
......@@ -7135,7 +7266,6 @@ joinpd1("Z"),
71357266 .pd2 = false,
71367267 .psl = true,
71377268},
7138joinpd1("a"),
71397269jspd1("b"),
71407270joinpd1("d"),
71417271.{
tools/update_clang_options.zig+2
......@@ -785,6 +785,8 @@ fn objSyntax(obj: *json.ObjectMap) ?Syntax {
785785 return .joined;
786786 } else if (std.mem.eql(u8, superclass, "CLCompileJoined")) {
787787 return .joined;
788 } else if (std.mem.eql(u8, superclass, "CLDXCJoined")) {
789 return .joined;
788790 } else if (std.mem.eql(u8, superclass, "JoinedOrSeparate")) {
789791 return .joined_or_separate;
790792 } else if (std.mem.eql(u8, superclass, "CLJoinedOrSeparate")) {