@@ -5516,15 +5516,6 @@ def fsycl_is_device : Flag<["-"], "fsycl-is-device">,
5516
5516
def fsycl_is_host : Flag<["-"], "fsycl-is-host">,
5517
5517
HelpText<"SYCL host compilation">,
5518
5518
MarshallingInfoFlag<LangOpts<"SYCLIsHost">>;
5519
- def sycl_std_EQ : Joined<["-"], "sycl-std=">, Group<sycl_Group>,
5520
- Flags<[CC1Option, NoArgumentUnused, CoreOption]>,
5521
- HelpText<"SYCL language standard to compile for.">,
5522
- Values<"2020,2017,121,1.2.1,sycl-1.2.1">,
5523
- NormalizedValues<["SYCL_2020", "SYCL_2017", "SYCL_2017", "SYCL_2017", "SYCL_2017"]>,
5524
- NormalizedValuesScope<"LangOptions">,
5525
- MarshallingInfoString<LangOpts<"SYCLVersion">, "SYCL_None">,
5526
- AutoNormalizeEnum,
5527
- ShouldParseIf<!strconcat(fsycl_is_device.KeyPath, "||", fsycl_is_host.KeyPath)>;
5528
5519
def fsycl_int_header : Separate<["-"], "fsycl-int-header">,
5529
5520
HelpText<"Generate SYCL integration header into this file.">,
5530
5521
MarshallingInfoString<LangOpts<"SYCLIntHeader">>;
@@ -5540,6 +5531,16 @@ def fenable_sycl_dae : Flag<["-"], "fenable-sycl-dae">,
5540
5531
5541
5532
} // let Flags = [CC1Option, NoDriverOption]
5542
5533
5534
+ def sycl_std_EQ : Joined<["-"], "sycl-std=">, Group<sycl_Group>,
5535
+ Flags<[CC1Option, NoArgumentUnused, CoreOption]>,
5536
+ HelpText<"SYCL language standard to compile for.">,
5537
+ Values<"2020,2017,121,1.2.1,sycl-1.2.1">,
5538
+ NormalizedValues<["SYCL_2020", "SYCL_2017", "SYCL_2017", "SYCL_2017", "SYCL_2017"]>,
5539
+ NormalizedValuesScope<"LangOptions">,
5540
+ MarshallingInfoString<LangOpts<"SYCLVersion">, "SYCL_None">,
5541
+ AutoNormalizeEnum,
5542
+ ShouldParseIf<!strconcat(fsycl_is_device.KeyPath, "||", fsycl_is_host.KeyPath)>;
5543
+
5543
5544
defm cuda_approx_transcendentals : BoolFOption<"cuda-approx-transcendentals",
5544
5545
LangOpts<"CUDADeviceApproxTranscendentals">, DefaultFalse,
5545
5546
PosFlag<SetTrue, [CC1Option], "Use">, NegFlag<SetFalse, [], "Don't use">,
0 commit comments