r205717 - Fix a typo introduced in r205716

David Majnemer david.majnemer at gmail.com
Mon Apr 7 09:19:27 PDT 2014


Author: majnemer
Date: Mon Apr  7 11:19:27 2014
New Revision: 205717

URL: http://llvm.org/viewvc/llvm-project?rev=205717&view=rev
Log:
Fix a typo introduced in r205716

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

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=205717&r1=205716&r2=205717&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Apr  7 11:19:27 2014
@@ -7534,9 +7534,8 @@ Command *visualstudio::Compile::GetComma
                           : "/Gy-");
   if (Arg *A = Args.getLastArg(options::OPT_fdata_sections,
                                options::OPT_fno_data_sections))
-    CmdArgs.push_back(A->getOption().getID() == options::OPT_ffunction_sections
-                          ? "/Gw"
-                          : "/Gw-");
+    CmdArgs.push_back(
+        A->getOption().getID() == options::OPT_fdata_sections ? "/Gw" : "/Gw-");
   if (Args.hasArg(options::OPT_fsyntax_only))
     CmdArgs.push_back("/Zs");
   if (Args.hasArg(options::OPT_g_Flag, options::OPT_gline_tables_only))





More information about the cfe-commits mailing list