[cfe-commits] r132868 - in /cfe/trunk: docs/ include/clang/AST/ include/clang/Basic/ include/clang/Driver/ include/clang/Sema/ lib/AST/ lib/Analysis/ lib/Basic/ lib/CodeGen/ lib/Driver/ lib/Frontend/ lib/Parse/ lib/Sema/ lib/Serialization/ test/Driver/ test/PCH/ test/SemaObjC/ test/SemaObjCXX/
dgregor at apple.com
Mon Jun 13 09:48:39 PDT 2011
On Jun 13, 2011, at 9:15 AM, Chris Lattner wrote:
> On Jun 13, 2011, at 9:14 AM, Douglas Gregor wrote:
>>> Nice, thanks for landing this Doug.
>>> Some random comments:
>>> 1. Should this have a __has_feature check?
>>> 2. Should the dox in the manual mention -f[no-]objc-infer-related-result-type?
>> IMO, "no" to both… this is meant to be an evolutionary step for the language, and the flags are really just there in case we run into trouble and need to back off on these changes. We've not yet seen any need for these flags, and they may go away in the future if we continue to see no need for them.
> Ok, I thought you were going to publicize the option, if it goes away in the future, then I agree with you here. I also can't think of a reason to use the check. Is there any reason not to remove the flag now? :)
More information about the cfe-commits