[cfe-commits] r61113 - /cfe/trunk/Driver/RewriteObjC.cpp

steve naroff snaroff at apple.com
Tue Dec 16 17:15:42 PST 2008


On Dec 16, 2008, at 8: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?

I don't believe there was any conscious decision to deviate from gcc  
(on this particular switch).

You should ask Daniel (I believe he is working on the driver).

snaroff

>
> In gcc we have:
> -x c
> -x c++
> ...
>
> - Fariborz
>
>>
>>
>> snaroff
>>
>>> - Fariborz
>>>
>>>
>>
>




More information about the cfe-commits mailing list