Home
last modified time | relevance | path

Searched refs:ProtocolName (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp452 virtual llvm::Constant *GenerateEmptyProtocol(StringRef ProtocolName);
1316 llvm::Constant *GenerateEmptyProtocol(StringRef ProtocolName) override { in GenerateEmptyProtocol() argument
1317 std::string Name = SymbolForProtocol(ProtocolName); in GenerateEmptyProtocol()
1373 std::string ProtocolName = PD->getNameAsString(); in GenerateProtocolRef() local
1374 auto *&Protocol = ExistingProtocols[ProtocolName]; in GenerateProtocolRef()
1380 auto SymName = SymbolForProtocol(ProtocolName); in GenerateProtocolRef()
1418 ProtocolBuilder.add(MakeConstantString(ProtocolName)); in GenerateProtocolRef()
3365 CGObjCGNU::GenerateEmptyProtocol(StringRef ProtocolName) { in GenerateEmptyProtocol() argument
3378 Elements.add(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateEmptyProtocol()
3386 return Elements.finishAndCreateGlobal(SymbolForProtocol(ProtocolName), in GenerateEmptyProtocol()
[all …]
H A DCGObjCMac.cpp6507 std::string ProtocolName("_OBJC_PROTOCOL_REFERENCE_$_"); in GenerateProtocolRef() local
6508 ProtocolName += PD->getObjCRuntimeNameAsString(); in GenerateProtocolRef()
6512 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef()
6517 ProtocolName); in GenerateProtocolRef()
6523 PTGV->setComdat(CGM.getModule().getOrInsertComdat(ProtocolName)); in GenerateProtocolRef()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h279 SourceLocation AtProtoInterfaceLoc, IdentifierInfo *ProtocolName,
697 ExprResult ParseObjCProtocolExpression(IdentifierInfo *ProtocolName,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp1217 SourceLocation AtProtoInterfaceLoc, IdentifierInfo *ProtocolName, in ActOnStartProtocolInterface() argument
1224 assert(ProtocolName && "Missing protocol identifier"); in ActOnStartProtocolInterface()
1226 ProtocolName, ProtocolLoc, SemaRef.forRedeclarationInCurContext()); in ActOnStartProtocolInterface()
1233 PDecl = ObjCProtocolDecl::Create(Context, SemaRef.CurContext, ProtocolName, in ActOnStartProtocolInterface()
1243 Diag(ProtocolLoc, diag::warn_duplicate_protocol_def) << ProtocolName; in ActOnStartProtocolInterface()
1259 ProtocolName, ProtocolLoc, PrevDecl->getLocation(), PList); in ActOnStartProtocolInterface()
1263 PDecl = ObjCProtocolDecl::Create(Context, SemaRef.CurContext, ProtocolName, in ActOnStartProtocolInterface()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp6259 StringRef ProtocolName) { in Write_protocol_list_initializer() argument
6264 Result += ProtocolName; in Write_protocol_list_initializer()
6324 StringRef ProtocolName) { in Write_prop_list_t_initializer() argument
6329 Result += ProtocolName; in Write_prop_list_t_initializer()
6661 StringRef ProtocolName) { in Write__extendedMethodTypes_initializer() argument
6666 Result += VarName; Result += ProtocolName; in Write__extendedMethodTypes_initializer()