[llvm] r369254 - [llvm-readobj] unwrapOrError: remove unnecessary llvm_unreachable after r369194
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 19 05:18:18 PDT 2019
Author: maskray
Date: Mon Aug 19 05:18:18 2019
New Revision: 369254
URL: http://llvm.org/viewvc/llvm-project?rev=369254&view=rev
Log:
[llvm-readobj] unwrapOrError: remove unnecessary llvm_unreachable after r369194
Modified:
llvm/trunk/tools/llvm-readobj/llvm-readobj.h
Modified: llvm/trunk/tools/llvm-readobj/llvm-readobj.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/llvm-readobj.h?rev=369254&r1=369253&r2=369254&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/llvm-readobj.h (original)
+++ llvm/trunk/tools/llvm-readobj/llvm-readobj.h Mon Aug 19 05:18:18 2019
@@ -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
More information about the llvm-commits
mailing list