Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp453 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()
3273 CGObjCGNU::GenerateEmptyProtocol(StringRef ProtocolName) { in GenerateEmptyProtocol() argument
3286 Elements.add(MakeConstantString(ProtocolName, ".objc_protocol_name")); in GenerateEmptyProtocol()
3294 return Elements.finishAndCreateGlobal(SymbolForProtocol(ProtocolName), in GenerateEmptyProtocol()
[all …]
H A DCGObjCMac.cpp6600 std::string ProtocolName("_OBJC_PROTOCOL_REFERENCE_$_"); in GenerateProtocolRef() local
6601 ProtocolName += PD->getObjCRuntimeNameAsString(); in GenerateProtocolRef()
6605 llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName); in GenerateProtocolRef()
6610 ProtocolName); in GenerateProtocolRef()
6616 PTGV->setComdat(CGM.getModule().getOrInsertComdat(ProtocolName)); in GenerateProtocolRef()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h291 SourceLocation AtProtoInterfaceLoc, IdentifierInfo *ProtocolName,
705 ExprResult ParseObjCProtocolExpression(IdentifierInfo *ProtocolName,
/src/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()
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp6293 StringRef ProtocolName) { in Write_protocol_list_initializer() argument
6298 Result += ProtocolName; in Write_protocol_list_initializer()
6358 StringRef ProtocolName) { in Write_prop_list_t_initializer() argument
6363 Result += ProtocolName; in Write_prop_list_t_initializer()
6695 StringRef ProtocolName) { in Write__extendedMethodTypes_initializer() argument
6700 Result += VarName; Result += ProtocolName; in Write__extendedMethodTypes_initializer()