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

Hans Wennborg hans at chromium.org
Thu Jul 18 13:32:32 PDT 2013


On Thu, Jul 18, 2013 at 12:54 PM, Reid Kleckner <rnk at google.com> wrote:
> On Thu, Jul 18, 2013 at 3:03 PM, Hans Wennborg <hans at chromium.org> wrote:
>>
>> 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.
>
>
> Works for me too.

Great. Committed r186605.

Thanks,
Hans



More information about the cfe-commits mailing list