Skip to content

Commit 58df6db

Browse files
author
Jakub Chlanda
committed
Tweak warning message
1 parent ad064bb commit 58df6db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/include/clang/Basic/DiagnosticDriverKinds.td

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,10 +421,9 @@ def warn_drv_fsycl_add_default_spec_consts_image_flag_in_non_AOT : Warning<
421421
"-fsycl-add-default-spec-consts-image flag has an effect only in Ahead of Time Compilation mode (AOT)">,
422422
InGroup<SyclTarget>;
423423
def warn_drv_fsycl_device_obj_asm_device_only : Warning<
424-
"-fsycl-device-obj=asm flag has an effect only when compailing device code "
424+
"-fsycl-device-obj=asm flag has an effect only when compiling device code "
425425
"and emitting assembly, make sure both -fsycl-device-only and -S flags are "
426-
"present. The option will be ignored">,
427-
InGroup<SyclTarget>;
426+
"present; will be ignored">, InGroup<SyclTarget>;
428427
def warn_drv_ftarget_register_alloc_mode_pvc : Warning<
429428
"using '%0' to set GRF mode on PVC hardware is deprecated; use '-ftarget-register-alloc-mode=pvc:%1'">,
430429
InGroup<Deprecated>;

0 commit comments

Comments
 (0)