Lines Matching refs:PID
1022 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) {
1023 if (!PID->isThisDeclarationADefinition()) {
1024 Out << "@protocol " << *PID << ";\n";
1028 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1030 Out << "@protocol " << *PID;
1036 Out << "@protocol " << *PID << '\n';
1037 VisitDeclContext(PID, false);
1041 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) {
1042 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n";
1044 VisitDeclContext(PID, false);
1049 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) {
1050 Out << "@interface " << *PID->getClassInterface() << '(' << *PID << ")\n";
1051 if (PID->ivar_size() > 0) {
1054 for (ObjCCategoryDecl::ivar_iterator I = PID->ivar_begin(),
1055 E = PID->ivar_end(); I != E; ++I) {
1063 VisitDeclContext(PID, false);
1149 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) {
1150 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize)
1154 Out << *PID->getPropertyDecl();
1155 if (PID->getPropertyIvarDecl())
1156 Out << '=' << *PID->getPropertyIvarDecl();