Skip to content

Commit 2b80605

Browse files
committed
Ensure -W<warning> gets HelpHidden
Align with community commit: 0953fb4
1 parent 8dd5df1 commit 2b80605

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
@@ -1005,7 +1005,7 @@ def Wno_nonportable_cfstrings : Joined<["-"], "Wno-nonportable-cfstrings">, Grou
10051005
Visibility<[ClangOption, CC1Option]>;
10061006
def Wnonportable_cfstrings : Joined<["-"], "Wnonportable-cfstrings">, Group<W_Group>,
10071007
Visibility<[ClangOption, CC1Option]>;
1008-
def Wno_sycl_strict : Flag<["-"], "Wno-sycl-strict">, Group<W_Group>, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">;
1008+
def Wno_sycl_strict : Flag<["-"], "Wno-sycl-strict">, Group<W_Group>, Flags<[HelpHidden]>, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">;
10091009
def Wp_COMMA : CommaJoined<["-"], "Wp,">,
10101010
HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">,
10111011
MetaVarName<"<arg>">, Group<Preprocessor_Group>;

0 commit comments

Comments
 (0)