[cfe-dev] Disabling functionality on 2.9

Sebastian Redl sebastian.redl at getdesigned.at
Thu Mar 10 08:41:00 PST 2011


On 10.03.2011, at 17:20, Douglas Gregor wrote:

> 
> On Mar 10, 2011, at 8:02 AM, Sebastian Redl wrote:
> 
>> Hi,
>> 
>> What's the right way to disable functionality on the release branch? Wholesale revert patches? Delete code? Comment out code? #ifdef out code?
> 
> Smaller patches that make it impossible to get to the feature (e.g., taking out the parsing of 'noexcept' as an exception-specifier) are probably our best bet. Larger changes are more likely to destabilize the branch for other reasons.

OK. But in the case of noexcept, I really want to change the partially changed data structures back to pre-noexcept state, at least ExtProtoInfo. The intermediate state is too much of a hack.

Sebastian



More information about the cfe-dev mailing list