summaryrefslogtreecommitdiffstats
path: root/clang/Lex
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-10-31 16:03:04 +0000
committerSteve Naroff <snaroff@apple.com>2007-10-31 16:03:04 +0000
commitac0216385f197b72b63a35dd763e71efacb5efdc (patch)
tree102c3e351c81456cce787d08ccb04218e29b92c5 /clang/Lex
parentd728e949bb070da0b01848c2e74634cd24911ec6 (diff)
downloadbcm5719-llvm-ac0216385f197b72b63a35dd763e71efacb5efdc.tar.gz
bcm5719-llvm-ac0216385f197b72b63a35dd763e71efacb5efdc.zip
Checking in some code that is still under construction.
I need to (finally) change the way Class/id/SEL/IMP are built-in...the current approach of doing it in the preprocessor is "broken". The other problem is Sema::GetObjcIdType/GetObjcSelType/GetObjcClassType, the hooks that initialize ASTContext lazily. These built-in types need to be done up front... llvm-svn: 43557
Diffstat (limited to 'clang/Lex')
-rw-r--r--clang/Lex/Preprocessor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp
index 04b2a80f02b..c1f4970f30d 100644
--- a/clang/Lex/Preprocessor.cpp
+++ b/clang/Lex/Preprocessor.cpp
@@ -369,7 +369,6 @@ static void InitializePredefinedMacros(Preprocessor &PP,
DefineBuiltinMacro(Buf, "__OBJC__=1");
if (PP.getLangOptions().ObjC2)
DefineBuiltinMacro(Buf, "__OBJC2__=1");
-
if (PP.getLangOptions().ObjC1) {
const char *ObjcType;
// Predefine all the ObjC goodies (traditionally declared in <objc/objc.h>).
OpenPOWER on IntegriCloud