diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-01-31 18:59:20 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-01-31 18:59:20 +0000 |
commit | 92d436b49ad573ae52374547d6867c4bd7ad09ba (patch) | |
tree | 3a676b4c28d89318bad2c41e51f83c0d572cc876 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6351792447038c7c76bbbce00ae2ca7b94319502 (diff) | |
download | bcm5719-llvm-92d436b49ad573ae52374547d6867c4bd7ad09ba.tar.gz bcm5719-llvm-92d436b49ad573ae52374547d6867c4bd7ad09ba.zip |
Support @compatibility_alias at run time (GNUstep Runtime)
Patch by Niels Grewe!
llvm-svn: 149401
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 196ab5dd399..576209f3666 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<ObjCCompatibleAliasDecl>(D)); break; case Decl::LinkageSpec: |