From 92d436b49ad573ae52374547d6867c4bd7ad09ba Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 31 Jan 2012 18:59:20 +0000 Subject: Support @compatibility_alias at run time (GNUstep Runtime) Patch by Niels Grewe! llvm-svn: 149401 --- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 196ab5dd..576209f 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -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(D)); break; case Decl::LinkageSpec: -- cgit v1.1