aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-25 23:07:42 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-25 23:07:42 +0000
commit369a3bd9979cf529eed529aa037de713c213e47d (patch)
treef0d5f7515c56496bc4d72cd23d1dff7368f73ae0 /lib/Sema/SemaDecl.cpp
parent1b2fc0f3e181d99fb34f60e711066fb11628ecd0 (diff)
Allow user re-definition of SEL as well as accessing its fields.
This fixes pr5611. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index c0a409d043..31c6ab543d 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -681,7 +681,7 @@ void Sema::MergeTypeDefDecl(TypedefDecl *New, LookupResult &OldDecls) {
case 3:
if (!TypeID->isStr("SEL"))
break;
- Context.ObjCSELRedefinitionType = New->getUnderlyingType();
+ Context.ObjCSelRedefinitionType = New->getUnderlyingType();
// Install the built-in type for 'SEL', ignoring the current definition.
New->setTypeForDecl(Context.getObjCSelType().getTypePtr());
return;