Lines Matching refs:PDecl
1163 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl() argument
1164 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl()
1165 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
1170 for (auto *I : PDecl->instance_methods()) in RewriteProtocolDecl()
1172 for (auto *I : PDecl->class_methods()) in RewriteProtocolDecl()
1174 for (auto *I : PDecl->properties()) in RewriteProtocolDecl()
1178 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl()
1316 for (const auto *PDecl : OMD->params()) { in RewriteObjCMethodDecl() local
1318 if (PDecl->getType()->isObjCQualifiedIdType()) { in RewriteObjCMethodDecl()
1320 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1322 std::string Name = PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1323 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl()
5924 ObjCProtocolDecl *PDecl, in Write_ProtocolExprReferencedMetadata() argument
5931 Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata()
5933 Result += "_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata()
6951 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, in RewriteObjCProtocolMetaData() argument
6955 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl())) in RewriteObjCProtocolMetaData()
6959 if (ObjCProtocolDecl *Def = PDecl->getDefinition()) in RewriteObjCProtocolMetaData()
6960 PDecl = Def; in RewriteObjCProtocolMetaData()
6963 for (auto *I : PDecl->protocols()) in RewriteObjCProtocolMetaData()
6969 for (auto *MD : PDecl->instance_methods()) { in RewriteObjCProtocolMetaData()
6977 for (auto *MD : PDecl->class_methods()) { in RewriteObjCProtocolMetaData()
6997 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
6999 SmallVector<ObjCProtocolDecl *, 8> SuperProtocols(PDecl->protocols()); in RewriteObjCProtocolMetaData()
7002 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
7006 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7010 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7014 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7018 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7021 SmallVector<ObjCPropertyDecl *, 8> ProtocolProperties(PDecl->properties()); in RewriteObjCProtocolMetaData()
7025 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
7032 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7035 Result += "\t\""; Result += PDecl->getNameAsString(); Result += "\",\n"; in RewriteObjCProtocolMetaData()
7038 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7044 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7051 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7058 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7065 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7072 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7082 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7091 Result += "_OBJC_LABEL_PROTOCOL_$_"; Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7092 Result += " = &_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7096 if (!ObjCSynthesizedProtocols.insert(PDecl->getCanonicalDecl()).second) in RewriteObjCProtocolMetaData()