/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 362 ObjCPropertyDecl *PDecl = in HandlePropertyInClassExtension() local 365 PDecl->setPropertyAttributesAsWritten( in HandlePropertyInClassExtension() 368 PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readonly); in HandlePropertyInClassExtension() 370 PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readwrite); in HandlePropertyInClassExtension() 372 PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_nonatomic); in HandlePropertyInClassExtension() 374 PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_atomic); in HandlePropertyInClassExtension() 376 PDecl->setGetterName(GetterSel); in HandlePropertyInClassExtension() 377 PDecl->setSetterName(SetterSel); in HandlePropertyInClassExtension() 378 ProcessDeclAttributes(S, PDecl, FD.D); in HandlePropertyInClassExtension() 379 DC->addDecl(PDecl); in HandlePropertyInClassExtension() [all …]
|
D | SemaDeclObjC.cpp | 629 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(), in CheckForwardProtocolDeclarationForCircularDependency() local 631 if (PDecl->getIdentifier() == PName) { in CheckForwardProtocolDeclarationForCircularDependency() 637 if (!PDecl->hasDefinition()) in CheckForwardProtocolDeclarationForCircularDependency() 641 PDecl->getLocation(), PDecl->getReferencedProtocols())) in CheckForwardProtocolDeclarationForCircularDependency() 662 ObjCProtocolDecl *PDecl = 0; in ActOnStartProtocolInterface() local 672 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface() 675 PDecl->startDefinition(); in ActOnStartProtocolInterface() 687 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, in ActOnStartProtocolInterface() 691 PushOnScopeChains(PDecl, TUScope); in ActOnStartProtocolInterface() 692 PDecl->startDefinition(); in ActOnStartProtocolInterface() [all …]
|
D | SemaExprObjC.cpp | 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() [all …]
|
D | SemaExprMember.cpp | 377 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl, in FindGetterSetterNameDeclFromProtocolList() argument 382 if (ObjCPropertyDecl *PD = PDecl->FindPropertyDeclaration(Member)) in FindGetterSetterNameDeclFromProtocolList() 384 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) in FindGetterSetterNameDeclFromProtocolList() 387 for (ObjCProtocolDecl::protocol_iterator I = PDecl->protocol_begin(), in FindGetterSetterNameDeclFromProtocolList() 388 E = PDecl->protocol_end(); I != E; ++I) { in FindGetterSetterNameDeclFromProtocolList()
|
D | SemaDeclAttr.cpp | 4424 if (const ObjCProtocolDecl *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) { in handleObjCRequiresSuperAttr() local 4427 S.Diag(PDecl->getLocation(), diag::note_protocol_decl); in handleObjCRequiresSuperAttr()
|
D | SemaCodeComplete.cpp | 2611 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) in CreateCodeCompletionString() local 2612 if (const RawComment *RC = Ctx.getRawCommentForAnyRedecl(PDecl)) in CreateCodeCompletionString()
|
D | SemaExpr.cpp | 7610 ObjCPropertyDecl *PDecl = PropExpr->getExplicitProperty(); in IsReadonlyProperty() local 7618 if (S.isPropertyReadonly(PDecl, IFace)) in IsReadonlyProperty()
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 1049 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { in VisitObjCPropertyDecl() argument 1050 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required) in VisitObjCPropertyDecl() 1052 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional) in VisitObjCPropertyDecl() 1056 if (PDecl->getPropertyAttributes() != ObjCPropertyDecl::OBJC_PR_noattr) { in VisitObjCPropertyDecl() 1059 if (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() 1065 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_getter) { in VisitObjCPropertyDecl() 1067 << PDecl->getGetterName().getAsString(); in VisitObjCPropertyDecl() 1070 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_setter) { in VisitObjCPropertyDecl() 1072 << PDecl->getSetterName().getAsString(); in VisitObjCPropertyDecl() 1076 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_assign) { in VisitObjCPropertyDecl() [all …]
|
D | DeclObjC.cpp | 1403 ObjCProtocolDecl *PDecl = this; in lookupProtocolNamed() local 1406 return PDecl; in lookupProtocolNamed() 1409 if ((PDecl = (*I)->lookupProtocolNamed(Name))) in lookupProtocolNamed() 1410 return PDecl; in lookupProtocolNamed() 1454 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() local 1455 for (ObjCProtocolDecl::prop_iterator P = PDecl->prop_begin(), in collectPropertiesToImplement() 1456 E = PDecl->prop_end(); P != E; ++P) { in collectPropertiesToImplement() 1463 for (ObjCProtocolDecl::protocol_iterator PI = PDecl->protocol_begin(), in collectPropertiesToImplement() 1464 E = PDecl->protocol_end(); PI != E; ++PI) in collectPropertiesToImplement()
|
D | ASTContext.cpp | 428 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) in getCommentForDecl() local 429 if (comments::FullComment *FC = getCommentForDecl(PDecl, PP)) in getCommentForDecl()
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 991 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl() argument 992 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl() 993 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl() 999 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end(); in RewriteProtocolDecl() 1003 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in RewriteProtocolDecl() 1007 for (ObjCInterfaceDecl::prop_iterator I = PDecl->prop_begin(), in RewriteProtocolDecl() 1008 E = PDecl->prop_end(); I != E; ++I) in RewriteProtocolDecl() 1012 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() 1136 ParmVarDecl *PDecl = *PI; in RewriteObjCMethodDecl() local 1138 if (PDecl->getType()->isObjCQualifiedIdType()) { in RewriteObjCMethodDecl() [all …]
|
D | RewriteModernObjC.cpp | 1155 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl() argument 1156 SourceLocation LocStart = PDecl->getLocStart(); in RewriteProtocolDecl() 1157 assert(PDecl->isThisDeclarationADefinition()); in RewriteProtocolDecl() 1163 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end(); in RewriteProtocolDecl() 1167 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in RewriteProtocolDecl() 1171 for (ObjCInterfaceDecl::prop_iterator I = PDecl->prop_begin(), in RewriteProtocolDecl() 1172 E = PDecl->prop_end(); I != E; ++I) in RewriteProtocolDecl() 1176 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); in RewriteProtocolDecl() 1316 ParmVarDecl *PDecl = *PI; in RewriteObjCMethodDecl() local 1318 if (PDecl->getType()->isObjCQualifiedIdType()) { in RewriteObjCMethodDecl() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransZeroOutPropsInDealloc.cpp | 208 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { in isZeroingPropIvar() local 209 if (!SynthesizedProperties.count(PDecl)) in isZeroingPropIvar()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 670 const ObjCPropertyDecl *PDecl = getExplicitProperty(); 671 if (const ObjCMethodDecl *Getter = PDecl->getGetterMethodDecl()) 674 ResultType = PDecl->getType(); 690 if (ObjCPropertyDecl *PDecl = getExplicitProperty()) 691 if (const ObjCMethodDecl *Setter = PDecl->getSetterMethodDecl()) {
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2422 ObjCProtocolDecl *PDecl, 6291 ObjCProtocolDecl *PDecl);
|