• Home
  • Raw
  • Download

Lines Matching refs:PDecl

1155 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {  in RewriteProtocolDecl()  argument
1156 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl()
1157 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl()
1163 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end(); in RewriteProtocolDecl()
1167 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in RewriteProtocolDecl()
1171 for (ObjCInterfaceDecl::prop_iterator I = PDecl->prop_begin(), in RewriteProtocolDecl()
1172 E = PDecl->prop_end(); I != E; ++I) in RewriteProtocolDecl()
1176 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl()
1316 ParmVarDecl *PDecl = *PI; 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()
6019 ObjCProtocolDecl *PDecl, in Write_ProtocolExprReferencedMetadata() argument
6026 Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata()
6028 Result += "_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata()
7038 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, in RewriteObjCProtocolMetaData() argument
7042 if (ObjCSynthesizedProtocols.count(PDecl->getCanonicalDecl())) in RewriteObjCProtocolMetaData()
7046 if (ObjCProtocolDecl *Def = PDecl->getDefinition()) in RewriteObjCProtocolMetaData()
7047 PDecl = Def; in RewriteObjCProtocolMetaData()
7050 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(), in RewriteObjCProtocolMetaData()
7051 E = PDecl->protocol_end(); I != E; ++I) in RewriteObjCProtocolMetaData()
7058 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end(); in RewriteObjCProtocolMetaData()
7069 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in RewriteObjCProtocolMetaData()
7091 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
7094 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(), in RewriteObjCProtocolMetaData()
7095 E = PDecl->protocol_end(); I != E; ++I) in RewriteObjCProtocolMetaData()
7100 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
7104 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7108 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7112 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7116 PDecl->getNameAsString(), false); in RewriteObjCProtocolMetaData()
7120 for (ObjCContainerDecl::prop_iterator I = PDecl->prop_begin(), in RewriteObjCProtocolMetaData()
7121 E = PDecl->prop_end(); I != E; ++I) in RewriteObjCProtocolMetaData()
7127 PDecl->getNameAsString()); in RewriteObjCProtocolMetaData()
7134 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7137 Result += "\t\""; Result += PDecl->getNameAsString(); Result += "\",\n"; in RewriteObjCProtocolMetaData()
7140 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7146 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7153 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7160 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7167 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7174 Result += PDecl->getNameAsString(); Result += ",\n"; in RewriteObjCProtocolMetaData()
7184 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7193 Result += "_OBJC_LABEL_PROTOCOL_$_"; Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7194 Result += " = &_OBJC_PROTOCOL_"; Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData()
7198 if (!ObjCSynthesizedProtocols.insert(PDecl->getCanonicalDecl())) in RewriteObjCProtocolMetaData()