Fix -Wreturn-type warning. NFC.

llvm-svn: 366251
This commit is contained in:
Michael Liao 2019-07-16 19:59:08 +00:00
parent afdf6b3c37
commit ccf22ef94c
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ llvm::remarks::createRemarkParser(Format ParserFormat, StringRef Buf,
return createStringError(std::make_error_code(std::errc::invalid_argument),
"Unknown remark parser format.");
}
llvm_unreachable("unknown format");
}
// Wrapper that holds the state needed to interact with the C API.