projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a722e9
)
Remove extraneous parentheses.
author
Rui Ueyama
<ruiu@google.com>
Fri, 6 Sep 2013 03:16:28 +0000
(
03:16
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 6 Sep 2013 03:16:28 +0000
(
03:16
+0000)
llvm-svn: 190119
lld/lib/Driver/WinLinkDriver.cpp
patch
|
blob
|
history
diff --git
a/lld/lib/Driver/WinLinkDriver.cpp
b/lld/lib/Driver/WinLinkDriver.cpp
index
56ea96d
..
ed4c4d9
100644
(file)
--- a/
lld/lib/Driver/WinLinkDriver.cpp
+++ b/
lld/lib/Driver/WinLinkDriver.cpp
@@
-479,8
+479,8
@@
bool WinLinkDriver::parse(int argc, const char *argv[], PECOFFLinkingContext &ct
// with ".exe".
if (ctx.outputPath().empty()) {
SmallString<128> firstInputFilePath =
- *
(llvm::dyn_cast<FileNode>(&((inputGraph)[0]))
)->path(ctx);
-
(llvm::sys::path::replace_extension(firstInputFilePath, ".exe")
);
+ *
llvm::dyn_cast<FileNode>(&inputGraph[0]
)->path(ctx);
+
llvm::sys::path::replace_extension(firstInputFilePath, ".exe"
);
ctx.setOutputPath(ctx.allocateString(firstInputFilePath.str()));
}