[lld] r221478 - remove unneeded { }

Nick Kledzik kledzik at apple.com
Thu Nov 6 11:34:00 PST 2014


Author: kledzik
Date: Thu Nov  6 13:33:59 2014
New Revision: 221478

URL: http://llvm.org/viewvc/llvm-project?rev=221478&view=rev
Log:
remove unneeded { }

Modified:
    lld/trunk/lib/Driver/DarwinLdDriver.cpp

Modified: lld/trunk/lib/Driver/DarwinLdDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/DarwinLdDriver.cpp?rev=221478&r1=221477&r2=221478&view=diff
==============================================================================
--- lld/trunk/lib/Driver/DarwinLdDriver.cpp (original)
+++ lld/trunk/lib/Driver/DarwinLdDriver.cpp Thu Nov  6 13:33:59 2014
@@ -641,9 +641,8 @@ bool DarwinLdDriver::parse(int argc, con
   }
 
   // Handle debug info handling options: -S
-  if (parsedArgs->hasArg(OPT_S)) {
+  if (parsedArgs->hasArg(OPT_S))
     ctx.setDebugInfoMode(MachOLinkingContext::DebugInfoMode::noDebugMap);
-  }
 
   // Handle input files
   for (auto &arg : *parsedArgs) {





More information about the llvm-commits mailing list