Lines Matching refs:PDecl

984 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {  in RewriteProtocolDecl()  argument
985 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl()
986 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
991 for (auto *I : PDecl->instance_methods()) in RewriteProtocolDecl()
993 for (auto *I : PDecl->class_methods()) in RewriteProtocolDecl()
995 for (auto *I : PDecl->instance_properties()) in RewriteProtocolDecl()
999 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl()
1121 for (const auto *PDecl : OMD->parameters()) { in RewriteObjCMethodDecl() local
1123 if (PDecl->getType()->isObjCQualifiedIdType()) { in RewriteObjCMethodDecl()
1125 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1127 std::string Name = PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1128 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl()
5078 ObjCProtocolDecl *PDecl, StringRef prefix, in RewriteObjCProtocolMetaData() argument
5083 if (!objc_protocol_methods && PDecl->hasDefinition()) { in RewriteObjCProtocolMetaData()
5097 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl())) in RewriteObjCProtocolMetaData()
5100 if (ObjCProtocolDecl *Def = PDecl->getDefinition()) in RewriteObjCProtocolMetaData()
5101 PDecl = Def; in RewriteObjCProtocolMetaData()
5103 if (PDecl->instmeth_begin() != PDecl->instmeth_end()) { in RewriteObjCProtocolMetaData()
5104 unsigned NumMethods = std::distance(PDecl->instmeth_begin(), in RewriteObjCProtocolMetaData()
5105 PDecl->instmeth_end()); in RewriteObjCProtocolMetaData()
5116 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
5122 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end(); in RewriteObjCProtocolMetaData()
5124 if (I == PDecl->instmeth_begin()) in RewriteObjCProtocolMetaData()
5139 unsigned NumMethods = std::distance(PDecl->classmeth_begin(), in RewriteObjCProtocolMetaData()
5140 PDecl->classmeth_end()); in RewriteObjCProtocolMetaData()
5152 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
5160 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in RewriteObjCProtocolMetaData()
5162 if (I == PDecl->classmeth_begin()) in RewriteObjCProtocolMetaData()
5200 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
5203 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
5205 if (PDecl->instmeth_begin() != PDecl->instmeth_end()) { in RewriteObjCProtocolMetaData()
5207 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
5212 if (PDecl->classmeth_begin() != PDecl->classmeth_end()) { in RewriteObjCProtocolMetaData()
5214 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
5222 if (!ObjCSynthesizedProtocols.insert(PDecl->getCanonicalDecl()).second) in RewriteObjCProtocolMetaData()