summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-23 21:59:48 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-07-23 21:59:48 +0000
commit78b1e777f59a26d667d6a5258138cc09cf146c18 (patch)
tree31d9162b0b74af714887f9010343c048a331aa07 /llvm/lib/IR
parentc69273fa10720d6053630f21edc7e0d91847068e (diff)
downloadbcm5719-llvm-78b1e777f59a26d667d6a5258138cc09cf146c18.tar.gz
bcm5719-llvm-78b1e777f59a26d667d6a5258138cc09cf146c18.zip
Fix "control reaches end of non-void function" warning. NFCI.
llvm-svn: 366856
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/RemarkStreamer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/RemarkStreamer.cpp b/llvm/lib/IR/RemarkStreamer.cpp
index c71487dbd3b..cb2eeeb8616 100644
--- a/llvm/lib/IR/RemarkStreamer.cpp
+++ b/llvm/lib/IR/RemarkStreamer.cpp
@@ -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>>
OpenPOWER on IntegriCloud