summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCMac.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-01-31 18:59:20 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-01-31 18:59:20 +0000
commit92d436b49ad573ae52374547d6867c4bd7ad09ba (patch)
tree3a676b4c28d89318bad2c41e51f83c0d572cc876 /clang/lib/CodeGen/CGObjCMac.cpp
parent6351792447038c7c76bbbce00ae2ca7b94319502 (diff)
downloadbcm5719-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/CGObjCMac.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjCMac.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index 3b86c5abb5e..3bc595ca441 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -1084,6 +1084,8 @@ public:
virtual void GenerateClass(const ObjCImplementationDecl *ClassDecl);
+ virtual void RegisterAlias(const ObjCCompatibleAliasDecl *OAD) {};
+
virtual llvm::Value *GenerateProtocolRef(CGBuilderTy &Builder,
const ObjCProtocolDecl *PD);
@@ -1336,6 +1338,9 @@ public:
virtual void GenerateCategory(const ObjCCategoryImplDecl *CMD);
virtual void GenerateClass(const ObjCImplementationDecl *ClassDecl);
+
+ virtual void RegisterAlias(const ObjCCompatibleAliasDecl *OAD) {};
+
virtual llvm::Value *GenerateProtocolRef(CGBuilderTy &Builder,
const ObjCProtocolDecl *PD);
OpenPOWER on IntegriCloud