• Home
  • Raw
  • Download

Lines Matching refs:PDecl

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