From c8a8a5e2aeb82403fd93053bef0124d3e82f186e Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Wed, 21 Oct 2015 19:25:14 +0000 Subject: [PATCH] Silence Visual C++ warning in function summary parsing code (NFC) llvm-svn: 250929 --- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 604cbe37c64d..e8d45790e3b4 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -5538,6 +5538,7 @@ std::error_code FunctionIndexBitcodeReader::parseFunctionSummary( // importing is added so that it can be tested. SmallVector Record; switch (Stream.readRecord(Entry.ID, Record)) { + case bitc::FS_CODE_COMBINED_ENTRY: default: return error("Invalid record"); }