[Patch] Turn Driver::CCCIsCXX and CCCIsCPP into an enum, add -cxx-mode= option

Hans Wennborg hans at chromium.org
Thu Jul 18 12:03:43 PDT 2013


On Thu, Jul 18, 2013 at 11:55 AM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Tue, Jul 16, 2013 at 6:42 AM, Reid Kleckner <rnk at google.com> wrote:
>>
>> lld calls this the driver "flavor" rather than mode.  It would be nice to
>> stay consistent on terminology, if folks are OK with flavor over mode.
>
>
> FWIW, I vote for '--driver-mode'. The reason is that it encompasses CPP vs.
> C++ vs. C in addition to cl.exe vs. GCC compatibility.

--driver-mode works for me.



More information about the cfe-commits mailing list