Lines Matching refs:PDecl
993 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {
994 SourceLocation LocStart = PDecl->getLocStart();
995 assert(PDecl->isThisDeclarationADefinition());
1000 for (auto *I : PDecl->instance_methods())
1002 for (auto *I : PDecl->class_methods())
1004 for (auto *I : PDecl->properties())
1008 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin();
1130 for (const auto *PDecl : OMD->params()) {
1132 if (PDecl->getType()->isObjCQualifiedIdType()) {
1134 ResultStr += PDecl->getNameAsString();
1136 std::string Name = PDecl->getNameAsString();
1137 QualType QT = PDecl->getType();
5133 ObjCProtocolDecl *PDecl, StringRef prefix,
5138 if (!objc_protocol_methods && PDecl->hasDefinition()) {
5152 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl()))
5155 if (ObjCProtocolDecl *Def = PDecl->getDefinition())
5156 PDecl = Def;
5158 if (PDecl->instmeth_begin() != PDecl->instmeth_end()) {
5159 unsigned NumMethods = std::distance(PDecl->instmeth_begin(),
5160 PDecl->instmeth_end());
5171 Result += PDecl->getNameAsString();
5177 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end();
5179 if (I == PDecl->instmeth_begin())
5194 unsigned NumMethods = std::distance(PDecl->classmeth_begin(),
5195 PDecl->classmeth_end());
5207 Result += PDecl->getNameAsString();
5215 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end();
5217 if (I == PDecl->classmeth_begin())
5255 Result += PDecl->getNameAsString();
5258 Result += PDecl->getNameAsString();
5260 if (PDecl->instmeth_begin() != PDecl->instmeth_end()) {
5262 Result += PDecl->getNameAsString();
5267 if (PDecl->classmeth_begin() != PDecl->classmeth_end()) {
5269 Result += PDecl->getNameAsString();
5277 if (!ObjCSynthesizedProtocols.insert(PDecl->getCanonicalDecl()))