[cfe-dev] Adding a rewrite class to Clang

Jacob Carlborg doob at me.com
Mon Sep 27 02:41:26 PDT 2010


On 2010-09-27 06:37, Daniel Dunbar wrote:
>>
>> Thanks that helped, but how could "-rewrite-objc-to-d" come before
>> "-rewrite-objc" ?
>
> That is just the particular definition of the ordering we use. We
> always match the first option in the list which is a prefix (more or
> less), and we want "-rewrite-objc-to-d" to be matched instead of
> "-rewrite-objc" (if it accepts suffixes).
>
>   - Daniel

Thanks I understand now, forgot about the null character.

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list