Home | History | Annotate | Download | only in AST

Lines Matching defs:PID

1182 void DeclPrinter::VisitObjCProtocolDecl(ObjCProtocolDecl *PID) {
1183 if (!PID->isThisDeclarationADefinition()) {
1184 Out << "@protocol " << *PID << ";\n";
1188 const ObjCList<ObjCProtocolDecl> &Protocols = PID->getReferencedProtocols();
1190 Out << "@protocol " << *PID;
1196 Out << "@protocol " << *PID << '\n';
1197 VisitDeclContext(PID, false);
1201 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) {
1202 Out << "@implementation " << *PID->getClassInterface() << '(' << *PID <<")\n";
1204 VisitDeclContext(PID, false);
1209 void DeclPrinter::VisitObjCCategoryDecl(ObjCCategoryDecl *PID) {
1210 Out << "@interface " << *PID->getClassInterface();
1211 if (auto TypeParams = PID->getTypeParamList()) {
1214 Out << "(" << *PID << ")\n";
1215 if (PID->ivar_size() > 0) {
1218 for (const auto *I : PID->ivars())
1225 VisitDeclContext(PID, false);
1333 void DeclPrinter::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PID) {
1334 if (PID->getPropertyImplementation() == ObjCPropertyImplDecl::Synthesize)
1338 Out << *PID->getPropertyDecl();
1339 if (PID->getPropertyIvarDecl())
1340 Out << '=' << *PID->getPropertyIvarDecl();