Skip to content

Commit 9614b82

Browse files
committed
Ensure -W<warning> gets HelpHidden
Align with community commit: 0953fb4
1 parent 4f83da2 commit 9614b82

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

0 commit comments

Comments
 (0)