]> granicus.if.org Git - clang/commitdiff
revert 138610, accidental commit.
authorFrancois Pichet <pichet2000@gmail.com>
Fri, 26 Aug 2011 00:22:34 +0000 (00:22 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Fri, 26 Aug 2011 00:22:34 +0000 (00:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138611 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp

index 48aeb5be7466c7b6c334981ccec93d8f57bee336..33e11fb84934f62139e5fd241bdb6f46ca9d0d9b 100644 (file)
@@ -1777,18 +1777,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
   // -fno-delayed-template-parsing is default.
   if (Args.hasFlag(options::OPT_fdelayed_template_parsing,
                    options::OPT_fno_delayed_template_parsing,
-                   false)) {
-    if (Args.hasArg(options::OPT_fdelayed_template_parsing)) {
-      StringRef Force = Args.getLastArgValue(options::OPT_fdelayed_template_parsing, "");
-      if (Force == "-force")
-        CmdArgs.push_back("-fdelayed-template-parsing-force");
-      else
-        CmdArgs.push_back("-fdelayed-template-parsing");
-    }
-    else
-      CmdArgs.push_back("-fdelayed-template-parsing");
-  }
-
+                   false))
+    CmdArgs.push_back("-fdelayed-template-parsing");
 
   // -fgnu-keywords default varies depending on language; only pass if
   // specified.