Fix "not all control paths return a value" MSVC warning. NFC.

This commit is contained in:
Simon Pilgrim 2022-06-06 11:31:46 +01:00
parent 7ed089153c
commit c173778505
1 changed files with 1 additions and 0 deletions

View File

@ -908,6 +908,7 @@ SparcAsmParser::parseTailRelocSym(OperandVector &Operands) {
return false;
}
}
llvm_unreachable("Unhandled SparcAsmParser::TailRelocKind enum");
};
if (getLexer().getKind() != AsmToken::Percent) {