reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaObjCProperty.cpp
  631     Diag(PDecl->getLocation(), diag::err_duplicate_property);
  633     PDecl->setInvalidDecl();
  636     DC->addDecl(PDecl);
  638       PDecl->setLexicalDeclContext(lexicalDC);
  643     PDecl->setInvalidDecl();
  646   ProcessDeclAttributes(S, PDecl, FD.D);
  650   PDecl->setGetterName(GetterSel, GetterNameLoc);
  651   PDecl->setSetterName(SetterSel, SetterNameLoc);
  652   PDecl->setPropertyAttributesAsWritten(
  656     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readonly);
  659     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_getter);
  662     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_setter);
  665     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_readwrite);
  668     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_retain);
  671     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_strong);
  674     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_weak);
  677     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_copy);
  680     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_unsafe_unretained);
  683     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_assign);
  687     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_nonatomic);
  689     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_atomic);
  693     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_assign);
  695     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_unsafe_unretained);
  698     PDecl->setPropertyImplementation(ObjCPropertyDecl::Required);
  700     PDecl->setPropertyImplementation(ObjCPropertyDecl::Optional);
  703     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_nullability);
  706     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_null_resettable);
  709     PDecl->setPropertyAttributes(ObjCPropertyDecl::OBJC_PR_class);
  711   return PDecl;