Silence Visual C++ warning in function summary parsing code (NFC)
authorTeresa Johnson <tejohnson@google.com>
Wed, 21 Oct 2015 19:25:14 +0000 (19:25 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 21 Oct 2015 19:25:14 +0000 (19:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250929 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/BitcodeReader.cpp

index 604cbe3..e8d4579 100644 (file)
@@ -5538,6 +5538,7 @@ std::error_code FunctionIndexBitcodeReader::parseFunctionSummary(
   // importing is added so that it can be tested.
   SmallVector<uint64_t, 64> Record;
   switch (Stream.readRecord(Entry.ID, Record)) {
+    case bitc::FS_CODE_COMBINED_ENTRY:
     default:
       return error("Invalid record");
   }