Skip to content

Commit 369ccf0

Browse files
committed
[SYCL][RTC] Fix warning caused by default case
Fix warning resulting from default case covering other cases, causing post-commit to fail. Signed-off-by: Lukas Sommer <[email protected]>
1 parent c6ce623 commit 369ccf0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,8 @@ class LLVMDiagnosticWrapper : public llvm::DiagnosticHandler {
205205
return "ERROR";
206206
case llvm::DiagnosticSeverity::DS_Warning:
207207
return "WARNING";
208-
case llvm::DiagnosticSeverity::DS_Note:
209-
return "NOTE:";
210-
case llvm::DiagnosticSeverity::DS_Remark:
211-
return "REMARK:";
212208
default:
213-
llvm_unreachable("Unhandled case");
209+
return "NOTE:";
214210
}
215211
}(DI.getSeverity());
216212
LogPrinter << Prefix;

0 commit comments

Comments
 (0)