[lld] r275528 - Remove redundant `return`.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 14 21:32:11 PDT 2016
Author: ruiu
Date: Thu Jul 14 23:32:11 2016
New Revision: 275528
URL: http://llvm.org/viewvc/llvm-project?rev=275528&view=rev
Log:
Remove redundant `return`.
Modified:
lld/trunk/ELF/LinkerScript.cpp
Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=275528&r1=275527&r2=275528&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Thu Jul 14 23:32:11 2016
@@ -150,7 +150,6 @@ uint64_t ExprParser::apply(StringRef Op,
if (Op == "&")
return L & R;
llvm_unreachable("invalid operator");
- return 0;
}
// This is a part of the operator-precedence parser.
More information about the llvm-commits
mailing list