]> granicus.if.org Git - clang/commitdiff
Silence a warning from MSVC about not returning a value
authorReid Kleckner <reid@kleckner.net>
Tue, 13 Aug 2013 00:11:59 +0000 (00:11 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 13 Aug 2013 00:11:59 +0000 (00:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188237 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/Consumed.cpp

index e556a8cef5cf52dbf7497a424fa7da3b7b3c70bc..e64a26c60ba1b57c353b221129761600fe7bc63d 100644 (file)
@@ -62,6 +62,7 @@ static StringRef stateToString(ConsumedState State) {
   case consumed::CS_Consumed:
     return "consumed";
   }
+  llvm_unreachable("invalid enum");
 }
 
 namespace {