summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-03-28 03:26:24 +0000
committerRui Ueyama <ruiu@google.com>2014-03-28 03:26:24 +0000
commit14a1e0c0fc433f7186c3a271ec24cc47c6be381c (patch)
treefcb05d023cd5b6d1a54552e5d6a6a7e0eb277518
parent73609a0fb3d30cd39297d1974b60982550b58edb (diff)
downloadbcm5719-llvm-14a1e0c0fc433f7186c3a271ec24cc47c6be381c.tar.gz
bcm5719-llvm-14a1e0c0fc433f7186c3a271ec24cc47c6be381c.zip
Remove extraneous parentheses.
llvm-svn: 204986
-rw-r--r--lld/lib/Driver/GnuLdDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Driver/GnuLdDriver.cpp b/lld/lib/Driver/GnuLdDriver.cpp
index 14f6cb5061f..49c980f95e4 100644
--- a/lld/lib/Driver/GnuLdDriver.cpp
+++ b/lld/lib/Driver/GnuLdDriver.cpp
@@ -408,8 +408,8 @@ bool GnuLdDriver::parse(int argc, const char *argv[],
<< "\n";
return false;
}
- if ((!userPath.endswith(".objtxt")) &&
- (magic == llvm::sys::fs::file_magic::unknown))
+ if (!userPath.endswith(".objtxt") &&
+ magic == llvm::sys::fs::file_magic::unknown)
isELFFileNode = false;
FileNode *inputNode = nullptr;
if (isELFFileNode)
OpenPOWER on IntegriCloud