[lld] r191061 - Remove extraneous parentheses.
Rui Ueyama
ruiu at google.com
Thu Sep 19 17:33:34 PDT 2013
Author: ruiu
Date: Thu Sep 19 19:33:34 2013
New Revision: 191061
URL: http://llvm.org/viewvc/llvm-project?rev=191061&view=rev
Log:
Remove extraneous parentheses.
Modified:
lld/trunk/lib/Driver/WinLinkDriver.cpp
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=191061&r1=191060&r2=191061&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Thu Sep 19 19:33:34 2013
@@ -242,7 +242,7 @@ llvm::ErrorOr<StringRef> PECOFFFileNode:
if (_path.endswith(".lib"))
return _ctx.searchLibraryFile(_path);
if (llvm::sys::path::extension(_path).empty())
- return (_ctx.allocateString(_path.str() + ".obj"));
+ return _ctx.allocateString(_path.str() + ".obj");
return _path;
}
More information about the llvm-commits
mailing list