r186720 - Add a cl.exe compatible driver mode
Richard Smith
richard at metafoo.co.uk
Fri Jul 19 16:21:37 PDT 2013
On Fri, Jul 19, 2013 at 4:13 PM, Sean Silva <silvas at purdue.edu> wrote:
>
>
>
> On Fri, Jul 19, 2013 at 1:33 PM, Hans Wennborg <hans at hanshq.net> wrote:
>
>> ==========================================
>> --- cfe/trunk/tools/driver/driver.cpp (original)
>> +++ cfe/trunk/tools/driver/driver.cpp Fri Jul 19 15:33:20 2013
>> @@ -219,8 +219,10 @@ static void ParseProgName(SmallVectorImp
>> { "clang-cpp", "--driver-mode=cpp" },
>> { "clang-g++", "--driver-mode=g++" },
>> { "clang-gcc", 0 },
>> + { "clang-cl", "--driver-mode=cl" },
>> { "cc", 0 },
>> { "cpp", "--driver-mode=cpp" },
>> + { "cl" , "--driver-mode=cl" },
>> { "++", "--driver-mode=g++" },
>> };
>>
>
> Is "cl.exe" needed here?
>
No. The surrounding code removes the extension.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130719/136eb6b5/attachment.html>
More information about the cfe-commits
mailing list