From 2b80605066dc5c0be2105f23f990cbbc6fc3fcc9 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Thu, 8 Aug 2024 13:48:54 -0700 Subject: [PATCH] Ensure -W gets HelpHidden Align with community commit: 0953fb4 --- clang/include/clang/Driver/Options.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index ee100a24d2f17..0640a0bcba613 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1005,7 +1005,7 @@ def Wno_nonportable_cfstrings : Joined<["-"], "Wno-nonportable-cfstrings">, Grou Visibility<[ClangOption, CC1Option]>; def Wnonportable_cfstrings : Joined<["-"], "Wnonportable-cfstrings">, Group, Visibility<[ClangOption, CC1Option]>; -def Wno_sycl_strict : Flag<["-"], "Wno-sycl-strict">, Group, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">; +def Wno_sycl_strict : Flag<["-"], "Wno-sycl-strict">, Group, Flags<[HelpHidden]>, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">; def Wp_COMMA : CommaJoined<["-"], "Wp,">, HelpText<"Pass the comma separated arguments in to the preprocessor">, MetaVarName<"">, Group;