From: Rui Ueyama Date: Fri, 6 Sep 2013 03:16:28 +0000 (+0000) Subject: Remove extraneous parentheses. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=822cb2e44b6572369d1c7a039cf8335276a9573e;p=platform%2Fupstream%2Fllvm.git Remove extraneous parentheses. llvm-svn: 190119 --- diff --git a/lld/lib/Driver/WinLinkDriver.cpp b/lld/lib/Driver/WinLinkDriver.cpp index 56ea96d..ed4c4d9 100644 --- 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(&((inputGraph)[0])))->path(ctx); - (llvm::sys::path::replace_extension(firstInputFilePath, ".exe")); + *llvm::dyn_cast(&inputGraph[0])->path(ctx); + llvm::sys::path::replace_extension(firstInputFilePath, ".exe"); ctx.setOutputPath(ctx.allocateString(firstInputFilePath.str())); }