mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 21:38:19 +00:00
Silence an MSVC warning about not all control paths returning a value; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239814 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -210,6 +210,7 @@ static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity) {
|
|||||||
case DS_Note:
|
case DS_Note:
|
||||||
return "note";
|
return "note";
|
||||||
}
|
}
|
||||||
|
llvm_unreachable("Unknown DiagnosticSeverity");
|
||||||
}
|
}
|
||||||
|
|
||||||
void LLVMContext::diagnose(const DiagnosticInfo &DI) {
|
void LLVMContext::diagnose(const DiagnosticInfo &DI) {
|
||||||
|
Reference in New Issue
Block a user