]> granicus.if.org Git - clang/commitdiff
Fix MSVC warnings about falling off the end of a non-void function
authorReid Kleckner <reid@kleckner.net>
Mon, 28 Jul 2014 17:48:12 +0000 (17:48 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 28 Jul 2014 17:48:12 +0000 (17:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214103 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/Analyses/ThreadSafetyTraverse.h

index 811feaca016bb936af9ae803331793e152a159a0..3692b75e7a2fc2caed6a6fa2c783c4257c111cdd 100644 (file)
@@ -433,6 +433,7 @@ public:
 #include "ThreadSafetyOps.def"
 #undef TIL_OPCODE_DEF
     }
+    llvm_unreachable("invalid enum");
   }
 };