[cfe-dev] RFC: Removing ObjC1 from LangOptions

John McCall via cfe-dev cfe-dev at lists.llvm.org
Fri Sep 21 11:16:23 PDT 2018


> On Sep 21, 2018, at 2:07 PM, Erik Pilkington via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> Hi everyone,
> 
> It looks like we never set LangOptions::ObjC1 without also setting LangOptions::ObjC2. This is a distinction without a difference, and only leads to pointless confusion. Would anyone have a problem with me replacing all uses of ObjC2 and ObjC1 with a new option, ObjC?

That seems reasonable to me.

John.



More information about the cfe-dev mailing list