Skip to content

Commit 6ba2260

Browse files
authored
[Driver][SYCL][NFC] Add help information for -Wno-sycl-strict (#2570)
-Wno-sycl-strict is used in the compatibility tool user guide. Add to the help to provide additional (if minimal) information.
1 parent 66a0580 commit 6ba2260

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ def Wno_nonportable_cfstrings : Joined<["-"], "Wno-nonportable-cfstrings">, Grou
498498
Flags<[CC1Option]>;
499499
def Wnonportable_cfstrings : Joined<["-"], "Wnonportable-cfstrings">, Group<W_Group>,
500500
Flags<[CC1Option]>;
501+
def Wno_sycl_strict : Joined<["-"], "Wno-sycl-strict">, Group<W_Group>, HelpText<"Disable warnings which enforce strict SYCL language compatibility.">;
501502
def Wp_COMMA : CommaJoined<["-"], "Wp,">,
502503
HelpText<"Pass the comma separated arguments in <arg> to the preprocessor">,
503504
MetaVarName<"<arg>">, Group<Preprocessor_Group>;

0 commit comments

Comments
 (0)