Lines Matching refs:PDecl

1154 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {  in RewriteProtocolDecl()  argument
1155 SourceLocation LocStart = PDecl->getBeginLoc(); in RewriteProtocolDecl()
1156 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
1161 for (auto *I : PDecl->instance_methods()) in RewriteProtocolDecl()
1163 for (auto *I : PDecl->class_methods()) in RewriteProtocolDecl()
1165 for (auto *I : PDecl->instance_properties()) in RewriteProtocolDecl()
1169 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl()
1291 for (const auto *PDecl : OMD->parameters()) { in RewriteObjCMethodDecl() local
1293 if (PDecl->getType()->isObjCQualifiedIdType()) { in RewriteObjCMethodDecl()
1295 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1297 std::string Name = PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1298 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl()
5822 ObjCProtocolDecl *PDecl, in Write_ProtocolExprReferencedMetadata() argument
5829 Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata()
5831 Result += "_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata()
6850 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, in RewriteObjCProtocolMetaData() argument
6854 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl())) in RewriteObjCProtocolMetaData()
6858 if (ObjCProtocolDecl *Def = PDecl->getDefinition()) in RewriteObjCProtocolMetaData()
6859 PDecl = Def; in RewriteObjCProtocolMetaData()
6862 for (auto *I : PDecl->protocols()) in RewriteObjCProtocolMetaData()
6868 for (auto *MD : PDecl->instance_methods()) { in RewriteObjCProtocolMetaData()
6876 for (auto *MD : PDecl->class_methods()) { in RewriteObjCProtocolMetaData()
6896 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
6898 SmallVector<ObjCProtocolDecl *, 8> SuperProtocols(PDecl->protocols()); in RewriteObjCProtocolMetaData()
6901 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
6905 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
6909 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
6913 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
6917 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
6921 PDecl->instance_properties()); in RewriteObjCProtocolMetaData()
6925 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
6932 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
6935 Result += "\t\""; Result += PDecl->getNameAsString(); Result += "\",\n"; in RewriteObjCProtocolMetaData()
6938 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
6944 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
6951 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
6958 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
6965 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
6972 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
6982 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
6991 Result += "_OBJC_LABEL_PROTOCOL_$_"; Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
6992 Result += " = &_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
6996 if (!ObjCSynthesizedProtocols.insert(PDecl->getCanonicalDecl()).second) in RewriteObjCProtocolMetaData()