Skip to content

Commit 06ce8db

Browse files
authored
[NFC][SYCL] Update -help output for -fsycl-help (#2752)
-fsycl-help allows for arguments that can be used to specify what target you want to display. Update the help description to include these values.
1 parent 89fd428 commit 06ce8db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1934,7 +1934,9 @@ def fsycl_link : Flag<["-"], "fsycl-link">, Alias<fsycl_link_EQ>,
19341934
def fsycl_unnamed_lambda : Flag<["-"], "fsycl-unnamed-lambda">,
19351935
Flags<[CC1Option, CoreOption]>, HelpText<"Allow unnamed SYCL lambda kernels">;
19361936
def fsycl_help_EQ : Joined<["-"], "fsycl-help=">,
1937-
Flags<[DriverOption, CoreOption]>, HelpText<"Emit help information from the related offline compilation tool">, Values<"all,fpga,gen,x86_64">;
1937+
Flags<[DriverOption, CoreOption]>, HelpText<"Emit help information from the "
1938+
"related offline compilation tool. Valid values: all, fpga, gen, x86_64.">,
1939+
Values<"all,fpga,gen,x86_64">;
19381940
def fsycl_help : Flag<["-"], "fsycl-help">, Alias<fsycl_help_EQ>,
19391941
Flags<[DriverOption, CoreOption]>, AliasArgs<["all"]>, HelpText<"Emit help information "
19401942
"from all of the offline compilation tools">;

0 commit comments

Comments
 (0)