Lines Matching refs:PDecl
1022 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc); in ParseObjCProtocolExpression() local
1023 if (!PDecl) { in ParseObjCProtocolExpression()
1032 return new (Context) ObjCProtocolExpr(Ty, PDecl, AtLoc, ProtoIdLoc, RParenLoc); in ParseObjCProtocolExpression()
1330 const ObjCPropertyDecl *PDecl = 0; in DiagnoseARCUseOfWeakReceiver() local
1342 PDecl = PRE->getExplicitProperty(); in DiagnoseARCUseOfWeakReceiver()
1343 if (PDecl) { in DiagnoseARCUseOfWeakReceiver()
1344 T = PDecl->getType(); in DiagnoseARCUseOfWeakReceiver()
1354 PDecl = Method->findPropertyDecl(); in DiagnoseARCUseOfWeakReceiver()
1355 if (PDecl) in DiagnoseARCUseOfWeakReceiver()
1356 T = PDecl->getType(); in DiagnoseARCUseOfWeakReceiver()
1361 if (!PDecl) in DiagnoseARCUseOfWeakReceiver()
1363 if (!(PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak)) in DiagnoseARCUseOfWeakReceiver()
1368 << ((!PDecl && !GDecl) ? 0 : (PDecl ? 1 : 2)); in DiagnoseARCUseOfWeakReceiver()
1370 if (PDecl) in DiagnoseARCUseOfWeakReceiver()
1371 S.Diag(PDecl->getLocation(), diag::note_property_declare); in DiagnoseARCUseOfWeakReceiver()