Lines Matching defs:PID
1521 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) {
1522 if (!PID->isThisDeclarationADefinition()) {
1523 Out << "@protocol " << *PID << ";\n";
1527 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1529 Out << "@protocol " << *PID;
1535 Out << "@protocol " << *PID << '\n';
1536 VisitDeclContext(PID, false);
1540 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) {
1542 if (const auto *CID = PID->getClassInterface())
1546 Out << '(' << *PID << ")\n";
1548 VisitDeclContext(PID, false);
1553 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) {
1555 if (const auto *CID = PID->getClassInterface())
1559 if (auto TypeParams = PID->getTypeParamList()) {
1562 Out << "(" << *PID << ")\n";
1563 if (PID->ivar_size() > 0) {
1566 for (const auto *I : PID->ivars())
1573 VisitDeclContext(PID, false);
1701 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) {
1702 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize)
1706 Out << *PID->getPropertyDecl();
1707 if (PID->getPropertyIvarDecl())
1708 Out << '=' << *PID->getPropertyIvarDecl();