[cfe-commits] r67802 - /cfe/trunk/lib/Lex/Preprocessor.cpp

Fariborz Jahanian fjahanian at apple.com
Thu Mar 26 16:57:56 PDT 2009


Author: fjahanian
Date: Thu Mar 26 18:57:56 2009
New Revision: 67802

URL: http://llvm.org/viewvc/llvm-project?rev=67802&view=rev
Log:
Put back __OBJC2__ definition.


Modified:
    cfe/trunk/lib/Lex/Preprocessor.cpp

Modified: cfe/trunk/lib/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Preprocessor.cpp?rev=67802&r1=67801&r2=67802&view=diff

==============================================================================
--- cfe/trunk/lib/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/lib/Lex/Preprocessor.cpp Thu Mar 26 18:57:56 2009
@@ -497,12 +497,8 @@
   
   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=");





More information about the cfe-commits mailing list