Lines Matching defs:PID
1520 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) {
1521 if (!PID->isThisDeclarationADefinition()) {
1522 Out << "@protocol " << *PID << ";\n";
1526 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1528 Out << "@protocol " << *PID;
1534 Out << "@protocol " << *PID << '\n';
1535 VisitDeclContext(PID, false);
1539 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) {
1541 if (const auto *CID = PID->getClassInterface())
1545 Out << '(' << *PID << ")\n";
1547 VisitDeclContext(PID, false);
1552 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) {
1554 if (const auto *CID = PID->getClassInterface())
1558 if (auto TypeParams = PID->getTypeParamList()) {
1561 Out << "(" << *PID << ")\n";
1562 if (PID->ivar_size() > 0) {
1565 for (const auto *I : PID->ivars())
1572 VisitDeclContext(PID, false);
1700 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) {
1701 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize)
1705 Out << *PID->getPropertyDecl();
1706 if (PID->getPropertyIvarDecl())
1707 Out << '=' << *PID->getPropertyIvarDecl();