summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-03-26 23:57:56 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-03-26 23:57:56 +0000
commitc35c9d87a96ab66fc079e136f4b32390788b0f6a (patch)
treefdb47d0d30525011bc17956af8063729c832e03a /clang/lib/Lex/Preprocessor.cpp
parentc23500ebb3935eb5168cd5992c9b7b4e83dcac49 (diff)
downloadbcm5719-llvm-c35c9d87a96ab66fc079e136f4b32390788b0f6a.tar.gz
bcm5719-llvm-c35c9d87a96ab66fc079e136f4b32390788b0f6a.zip
Put back __OBJC2__ definition.
llvm-svn: 67802
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index a37b28b2b1d..a43bb6427e9 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/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=");
OpenPOWER on IntegriCloud