r204371 - Coding style fixup; no functionality change

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu Mar 20 11:40:53 PDT 2014


Author: dexonsmith
Date: Thu Mar 20 13:40:53 2014
New Revision: 204371

URL: http://llvm.org/viewvc/llvm-project?rev=204371&view=rev
Log:
Coding style fixup; no functionality change

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=204371&r1=204370&r2=204371&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Mar 20 13:40:53 2014
@@ -326,11 +326,10 @@ void DarwinClang::AddLinkRuntimeLibArgs(
       Args.hasArg(options::OPT_fcreate_profile) ||
       Args.hasArg(options::OPT_coverage)) {
     // Select the appropriate runtime library for the target.
-    if (isTargetIOSBased()) {
+    if (isTargetIOSBased())
       AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.profile_ios.a");
-    } else {
+    else
       AddLinkRuntimeLib(Args, CmdArgs, "libclang_rt.profile_osx.a");
-    }
   }
 
   const SanitizerArgs &Sanitize = getSanitizerArgs();





More information about the cfe-commits mailing list