[cfe-commits] r61113 - /cfe/trunk/Driver/RewriteObjC.cpp
Chris Lattner
clattner at apple.com
Tue Dec 16 20:18:19 PST 2008
On Dec 16, 2008, at 5:09 PM, Fariborz Jahanian wrote:
>
> On Dec 16, 2008, at 5:07 PM, steve naroff wrote:
>
>>
>> On Dec 16, 2008, at 8:04 PM, Fariborz Jahanian wrote:
>>
>>>
>>> On Dec 16, 2008, at 4:20 PM, Steve Naroff wrote:
>>>
>>>> -x=objective-c++
>>>
>>> I hope you meant: -x objective-c++ (same as -ObjC++).
>>>
>>
>> Nope...the comment is correct. The clang driver syntax is currently -
>> x=objective-c++.
>>
>> Here is some output from "clang -help".
>>
>> -x - Base language to compile
>> =c - C
>> =c++ - C++
>> =objective-c - Objective C
>> =objective-c++ - Objective C++
>
> So, we decided not to be gcc compatible in language selection? Or the
> driver will fix all these?
> In gcc we have:
> -x c
> -x c++
> ...
FWIW, clang -x c works fine. The --help output just doesn't know that
you prefer no equal. Both work fine.
-Chris
More information about the cfe-commits
mailing list