summaryrefslogtreecommitdiff
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-07-15 04:32:11 +0000
committerRui Ueyama <ruiu@google.com>2016-07-15 04:32:11 +0000
commit177746a739ba1a1fdc1fe37d9622027dd67cc75c (patch)
treea15ecce58c0709d52c39d0f55318b579f16c9067 /lld/ELF/LinkerScript.cpp
parent05ef4cff44537c548f08e21ab25cad7c21bc2fbd (diff)
Remove redundant `return`.
llvm-svn: 275528
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r--lld/ELF/LinkerScript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 65265fb47410..a186d97aed34 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -150,7 +150,6 @@ uint64_t ExprParser::apply(StringRef Op, uint64_t L, uint64_t R) {
if (Op == "&")
return L & R;
llvm_unreachable("invalid operator");
- return 0;
}
// This is a part of the operator-precedence parser.