]> granicus.if.org Git - clang/commit
DO NOT pre-defined __OBJC2__. The __OBJC2__ macro should only be defined when targeti...
authorSteve Naroff <snaroff@apple.com>
Fri, 9 May 2008 20:52:28 +0000 (20:52 +0000)
committerSteve Naroff <snaroff@apple.com>
Fri, 9 May 2008 20:52:28 +0000 (20:52 +0000)
commit0c7e8058deab0516923bcc070ae49b35e005b8e0
tree8bcce6f42faccb09771bdfaeb851cf1abb4c9e6a
parent618916e05be0283f969d2e8ac87517ea0b6dae6b
DO NOT pre-defined __OBJC2__. The __OBJC2__ macro should only be defined when targeting the new, Apple 2.0 *runtime ABI*. It is not intended to be used to #ifdef ObjC 2.0 langauge features. This is unfortunate (given it's name). In a perfect world, this defined would be named __OBJC2_RUNTIME_ABI__. Oh well.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50913 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Preprocessor.cpp