[lld] r204986 - Remove extraneous parentheses.
Rui Ueyama
ruiu at google.com
Thu Mar 27 20:26:24 PDT 2014
Author: ruiu
Date: Thu Mar 27 22:26:24 2014
New Revision: 204986
URL: http://llvm.org/viewvc/llvm-project?rev=204986&view=rev
Log:
Remove extraneous parentheses.
Modified:
lld/trunk/lib/Driver/GnuLdDriver.cpp
Modified: lld/trunk/lib/Driver/GnuLdDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdDriver.cpp?rev=204986&r1=204985&r2=204986&view=diff
==============================================================================
--- lld/trunk/lib/Driver/GnuLdDriver.cpp (original)
+++ lld/trunk/lib/Driver/GnuLdDriver.cpp Thu Mar 27 22:26:24 2014
@@ -408,8 +408,8 @@ bool GnuLdDriver::parse(int argc, const
<< "\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)
More information about the llvm-commits
mailing list