[cfe-commits] r138610 - /cfe/trunk/lib/Driver/Tools.cpp
Francois Pichet
pichet2000 at gmail.com
Thu Aug 25 17:24:16 PDT 2011
sorry about that... accidental
On Thu, Aug 25, 2011 at 8:18 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
> Author: fpichet
> Date: Thu Aug 25 19:18:13 2011
> New Revision: 138610
>
> URL: http://llvm.org/viewvc/llvm-project?rev=138610&view=rev
> Log: (empty)
>
> 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=138610&r1=138609&r2=138610&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Driver/Tools.cpp (original)
> +++ cfe/trunk/lib/Driver/Tools.cpp Thu Aug 25 19:18:13 2011
> @@ -1777,8 +1777,18 @@
> // -fno-delayed-template-parsing is default.
> if (Args.hasFlag(options::OPT_fdelayed_template_parsing,
> options::OPT_fno_delayed_template_parsing,
> - false))
> - CmdArgs.push_back("-fdelayed-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");
> + }
> +
>
> // -fgnu-keywords default varies depending on language; only pass if
> // specified.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list