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

Fariborz Jahanian fjahanian at apple.com
Tue Dec 16 17:09:47 PST 2008


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++
...

- Fariborz

>
>
> snaroff
>
>> - Fariborz
>>
>>
>




More information about the cfe-commits mailing list