]> granicus.if.org Git - llvm/commitdiff
[llvm-readobj] unwrapOrError: remove unnecessary llvm_unreachable after r369194
authorFangrui Song <maskray@google.com>
Mon, 19 Aug 2019 12:18:18 +0000 (12:18 +0000)
committerFangrui Song <maskray@google.com>
Mon, 19 Aug 2019 12:18:18 +0000 (12:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369254 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-readobj/llvm-readobj.h

index 95049ef82193bca91e3d3db525420dd97836356d..2a778e12f81c458cff1aa8cf821fca6e2ed65615 100644 (file)
@@ -29,7 +29,6 @@ namespace llvm {
     if (EO)
       return *EO;
     reportError(EO.takeError(), Input);
-    llvm_unreachable("reportError shouldn't return in this case");
   }
 } // namespace llvm