diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-25 23:07:42 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-11-25 23:07:42 +0000 |
commit | 369a3bd9979cf529eed529aa037de713c213e47d (patch) | |
tree | f0d5f7515c56496bc4d72cd23d1dff7368f73ae0 /lib/Sema/Sema.cpp | |
parent | 1b2fc0f3e181d99fb34f60e711066fb11628ecd0 (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/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 11729e0dac..838fb6cbb0 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -307,7 +307,7 @@ void Sema::ActOnTranslationUnitScope(SourceLocation Loc, Scope *S) { &Context.Idents.get("SEL"), SelInfo); PushOnScopeChains(SelTypedef, TUScope); Context.setObjCSelType(Context.getTypeDeclType(SelTypedef)); - Context.ObjCSELRedefinitionType = Context.getObjCSelType(); + Context.ObjCSelRedefinitionType = Context.getObjCSelType(); } // Synthesize "@class Protocol; |