Lines Matching defs:PID
1402 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) {
1403 if (!PID->isThisDeclarationADefinition()) {
1404 Out << "@protocol " << *PID << ";\n";
1408 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1410 Out << "@protocol " << *PID;
1416 Out << "@protocol " << *PID << '\n';
1417 VisitDeclContext(PID, false);
1421 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) {
1423 if (const auto *CID = PID->getClassInterface())
1427 Out << '(' << *PID << ")\n";
1429 VisitDeclContext(PID, false);
1434 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) {
1436 if (const auto *CID = PID->getClassInterface())
1440 if (auto TypeParams = PID->getTypeParamList()) {
1443 Out << "(" << *PID << ")\n";
1444 if (PID->ivar_size() > 0) {
1447 for (const auto *I : PID->ivars())
1454 VisitDeclContext(PID, false);
1582 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) {
1583 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize)
1587 Out << *PID->getPropertyDecl();
1588 if (PID->getPropertyIvarDecl())
1589 Out << '=' << *PID->getPropertyIvarDecl();