[cfe-commits] [PATCH] Add -fobjc-direct-class-refs

David Blaikie dblaikie at gmail.com
Tue Jun 5 10:16:33 PDT 2012

On Tue, Jun 5, 2012 at 10:03 AM, Jonathan Schleifer <js at webkeks.org> wrote:
> Am 05.06.2012 um 18:57 schrieb Douglas Gregor:
>> and we have a new command-line option. Unfortunately, the old command-line option can never go away, because people depend on it, so we have to map old to new "forever".
> Actually, no. You can't rely on having it anyway, because it is currently missing entirely, thus in all previous releases, it's missing. Code needs to check if that flag is available and only use it if so. If it suddenly goes away again, nothing will break. It's even possible to mix code compiled with that flag with code compiled without it.

Except that once it is added you can rely on it, assuming you never
intend to use an old compiler (& why would you?)... and then Clang is
stuck supporting it for all those users who've come to depend on it.

- David

More information about the cfe-commits mailing list