[Lldb-commits] [PATCH] D51587: [Symtab][NFC] Added llvm_unreachable to supress compiler warning

Dávid Bolvanský via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 3 04:34:17 PDT 2018


xbolva00 created this revision.
xbolva00 added a reviewer: JDevlieghere.
Herald added a subscriber: lldb-commits.

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51587

Files:
  source/Symbol/Symtab.cpp


Index: source/Symbol/Symtab.cpp
===================================================================
--- source/Symbol/Symtab.cpp
+++ source/Symbol/Symtab.cpp
@@ -249,6 +249,7 @@
   case Mangled::eManglingSchemeNone:
     return true;
   }
+  llvm_unreachable("unknown scheme!");
 }
 
 void Symtab::InitNameIndexes() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51587.163690.patch
Type: text/x-patch
Size: 318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180903/5849d4ff/attachment.bin>


More information about the lldb-commits mailing list