Support @compatibility_alias at run time (GNUstep Runtime)

Patch by Niels Grewe!

llvm-svn: 149401
This commit is contained in:
David Chisnall
2012-01-31 18:59:20 +00:00
parent 6351792447
commit 92d436b49a
4 changed files with 63 additions and 2 deletions

View File

@@ -2421,7 +2421,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
break;
}
case Decl::ObjCCompatibleAlias:
// compatibility-alias is a directive and has no code gen.
ObjCRuntime->RegisterAlias(cast<ObjCCompatibleAliasDecl>(D));
break;
case Decl::LinkageSpec: