Skip to content

Commit 5f2337f

Browse files
authored
[SYCL][NFC] Code cleanup revealed by self-build. (#3153)
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 2d75f9b commit 5f2337f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/tools/sycl-post-link/sycl-post-link.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,6 @@ static void collectKernelModuleMap(
364364
// the map key is not significant here
365365
ResKernelModuleMap["<GLOBAL>"].push_back(&F);
366366
break;
367-
default:
368-
llvm_unreachable("unknown scope");
369367
}
370368
}
371369
}

0 commit comments

Comments
 (0)