1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Fix "control reaches end of non-void function" warning. NFCI.

llvm-svn: 366856
This commit is contained in:
Simon Pilgrim 2019-07-23 21:59:48 +00:00
parent fd778f3433
commit ce2392cd9c

View File

@ -118,6 +118,7 @@ formatToSerializer(remarks::Format RemarksFormat, raw_ostream &OS) {
case remarks::Format::YAMLStrTab:
return llvm::make_unique<remarks::YAMLStrTabSerializer>(OS);
};
llvm_unreachable("Unknown remarks::Format enum");
}
Expected<std::unique_ptr<ToolOutputFile>>