From: Fariborz Jahanian Date: Thu, 26 Mar 2009 23:57:56 +0000 (+0000) Subject: Put back __OBJC2__ definition. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47e60ac311d03a5813da70dd894b503d1c5c7c95;p=clang Put back __OBJC2__ definition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67802 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index a37b28b2b1..a43bb6427e 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -497,12 +497,8 @@ static void InitializePredefinedMacros(Preprocessor &PP, if (PP.getLangOptions().ObjC1) { DefineBuiltinMacro(Buf, "__OBJC__=1"); -#if 0 -// FIXME. This flag controls declaration of ivars which is -// needed since we do not support synthesize ivars yet. if (PP.getLangOptions().ObjCNonFragileABI) DefineBuiltinMacro(Buf, "__OBJC2__=1"); -#endif if (PP.getLangOptions().getGCMode() == LangOptions::NonGC) { DefineBuiltinMacro(Buf, "__weak=");