comparison clang/lib/CodeGen/CGObjCRuntime.h @ 173:0572611fdcc8 llvm10 llvm12

reorgnization done
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 11:55:54 +0900
parents 1d019706d866
children 2e18cbf3894f
comparison
equal deleted inserted replaced
172:9fbae9c8bf63 173:0572611fdcc8
208 const ObjCProtocolDecl *OPD) = 0; 208 const ObjCProtocolDecl *OPD) = 0;
209 209
210 /// Generate the named protocol. Protocols contain method metadata but no 210 /// Generate the named protocol. Protocols contain method metadata but no
211 /// implementations. 211 /// implementations.
212 virtual void GenerateProtocol(const ObjCProtocolDecl *OPD) = 0; 212 virtual void GenerateProtocol(const ObjCProtocolDecl *OPD) = 0;
213
214 /// GetOrEmitProtocol - Get the protocol object for the given
215 /// declaration, emitting it if necessary. The return value has type
216 /// ProtocolPtrTy.
217 virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD) = 0;
213 218
214 /// Generate a function preamble for a method with the specified 219 /// Generate a function preamble for a method with the specified
215 /// types. 220 /// types.
216 221
217 // FIXME: Current this just generates the Function definition, but really this 222 // FIXME: Current this just generates the Function definition, but really this