forked from OSchip/llvm-project
Fix "control reaches end of non-void function" warning. NFCI.
llvm-svn: 366856
This commit is contained in:
parent
c69273fa10
commit
78b1e777f5
|
@ -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>>
|
||||
|
|
Loading…
Reference in New Issue