Skip to content

Commit 06ec6d9

Browse files
committed
[SYCL][NFC] Code cleanup revealed by self-build.
Remove redundant false case in switch statement following: https://llvm.org/docs/CodingStandards.html#don-t-use-default-labels-in-fully-covered-switches-over-enumerations
1 parent 412896d commit 06ec6d9

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
@@ -3481,8 +3481,8 @@ static const char *paramKind2Str(KernelParamKind K) {
34813481
CASE(std_layout);
34823482
CASE(sampler);
34833483
CASE(pointer);
3484-
return "<ERROR>";
34853484
}
3485+
return "<ERROR>";
34863486
#undef CASE
34873487
}
34883488

0 commit comments

Comments
 (0)