aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-23 18:04:25 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-23 18:04:25 +0000
commit04765ac135e0c4e6b78651c2a287d80a32b2b8b9 (patch)
tree559d1ebf412a2cd1584360af6556094e2c9e9963 /lib/AST/Type.cpp
parent998c133a3b1cd0c34c52907f3ec2798e0dde7e0e (diff)
Make 'SEL' pointer to a builtin type and not an
objective-c pointer type. This was a serious mishap and luckily, Ted's test caught that (and patch fixes the test case). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r--lib/AST/Type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index 7a8d3af2a0..5a2434da3c 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -725,6 +725,7 @@ const char *BuiltinType::getName(const LangOptions &LO) const {
case UndeducedAuto: return "auto";
case ObjCId: return "id";
case ObjCClass: return "Class";
+ case ObjCSel: return "SEL";
}
}