[cfe-dev] RFC: Removing ObjC1 from LangOptions

Erik Pilkington via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 22 18:18:25 PDT 2018


I put a patch up on phab to do this here: https://reviews.llvm.org/D53547


On 9/21/18 11:07 AM, Erik Pilkington 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?
>
> Thanks!
> Erik




More information about the cfe-dev mailing list