Skip to content

Commit cb6c1f9

Browse files
committed
Match diagnostic text
1 parent ae63f32 commit cb6c1f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaSYCL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3690,7 +3690,7 @@ class SYCLKernelNameTypeVisitor
36903690
if (UnnamedLambdaUsed) {
36913691
S.Diag(KernelInvocationFuncLoc,
36923692
diag::err_sycl_kernel_incorrectly_named)
3693-
<< /* unnamed lambda is used in a SYCL kernel name */ 2
3693+
<< /* unnamed type is not valid in a SYCL kernel name */ 2
36943694
<< KernelNameType;
36953695
IsInvalid = true;
36963696
return;

0 commit comments

Comments
 (0)