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()
1308 ObjCPropertyDecl *PDecl = 0; in DiagnoseARCUseOfWeakReceiver() local
1320 PDecl = PRE->getExplicitProperty(); in DiagnoseARCUseOfWeakReceiver()
1321 if (PDecl) { in DiagnoseARCUseOfWeakReceiver()
1322 T = PDecl->getType(); in DiagnoseARCUseOfWeakReceiver()
1335 PDecl = in DiagnoseARCUseOfWeakReceiver()
1339 if (PDecl) in DiagnoseARCUseOfWeakReceiver()
1340 T = PDecl->getType(); in DiagnoseARCUseOfWeakReceiver()
1346 << ((!PDecl && !GDecl) ? 0 : (PDecl ? 1 : 2)); in DiagnoseARCUseOfWeakReceiver()
1347 if (PDecl) in DiagnoseARCUseOfWeakReceiver()
1348 S.Diag(PDecl->getLocation(), diag::note_property_declare); in DiagnoseARCUseOfWeakReceiver()
1354 if (PDecl && in DiagnoseARCUseOfWeakReceiver()
1355 (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_weak)) { in DiagnoseARCUseOfWeakReceiver()
1357 S.Diag(PDecl->getLocation(), diag::note_property_declare); in DiagnoseARCUseOfWeakReceiver()