Skip to content

Commit 78bc138

Browse files
committed
Merge remote-tracking branch 'upstream/sycl' into rtc-esimd-only
2 parents fd7d901 + 0516870 commit 78bc138

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,11 @@ class LLVMDiagnosticWrapper : public llvm::DiagnosticHandler {
205205
auto Prefix = [](DiagnosticSeverity Severity) -> llvm::StringLiteral {
206206
switch (Severity) {
207207
case llvm::DiagnosticSeverity::DS_Error:
208-
return "ERROR";
208+
return "ERROR:";
209209
case llvm::DiagnosticSeverity::DS_Warning:
210-
return "WARNING";
211-
case llvm::DiagnosticSeverity::DS_Note:
212-
return "NOTE:";
213-
case llvm::DiagnosticSeverity::DS_Remark:
214-
return "REMARK:";
210+
return "WARNING:";
215211
default:
216-
llvm_unreachable("Unhandled case");
212+
return "NOTE:";
217213
}
218214
}(DI.getSeverity());
219215
LogPrinter << Prefix;

0 commit comments

Comments
 (0)