Skip to content

Commit f126512

Browse files
authored
[NFC][Driver] Fix help output for -Wno-sycl-strict (#3184)
-help output was emitting -Wno-sycl-strict<value>, due to being added as a Joined option as opposed to a Flag
1 parent 9d60c3d commit f126512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ def Wno_nonportable_cfstrings : Joined<["-"], "Wno-nonportable-cfstrings">, Grou
720720
Flags<[CC1Option]>;
721721
def Wnonportable_cfstrings : Joined<["-"], "Wnonportable-cfstrings">, Group<W_Group>,
722722
Flags<[CC1Option]>;
723-
def Wno_sycl_strict : Joined<["-"], "Wno-sycl-strict">, Group<W_Group>, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">;
723+
def Wno_sycl_strict : Flag<["-"], "Wno-sycl-strict">, Group<W_Group>, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">;
724724
def Wp_COMMA : CommaJoined<["-"], "Wp,">,
725725
HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">,
726726
MetaVarName<"<arg>">, Group<Preprocessor_Group>;

0 commit comments

Comments
 (0)