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

References

tools/clang/lib/Sema/SemaObjCProperty.cpp
 2343   SetterMethod = IsClassProperty ?
 2346   if (!SetterMethod)
 2349         SetterMethod = IsClassProperty ? CatDecl->getClassInterface()->
 2356   if (!property->isReadOnly() && SetterMethod) {
 2357     if (Context.getCanonicalType(SetterMethod->getReturnType()) !=
 2359       Diag(SetterMethod->getLocation(), diag::err_setter_type_void);
 2360     if (SetterMethod->param_size() != 1 ||
 2362           (*SetterMethod->param_begin())->getType().getNonReferenceType(),
 2367         << SetterMethod->getSelector();
 2368       Diag(SetterMethod->getLocation(), diag::note_declared_at);
 2437     if (!SetterMethod) {
 2444       SetterMethod =
 2475       ParmVarDecl *Argument = ParmVarDecl::Create(Context, SetterMethod,
 2482       SetterMethod->setMethodParams(Context, Argument, None);
 2484       AddPropertyAttrs(*this, SetterMethod, property);
 2486       CD->addDecl(SetterMethod);
 2488         SetterMethod->addAttr(SectionAttr::CreateImplicit(
 2494         CheckARCMethodDecl(SetterMethod);
 2498       SetterMethod->setPropertyAccessor(true);
 2499     property->setSetterMethodDecl(SetterMethod);
 2516     if (SetterMethod)
 2517       AddInstanceMethodToGlobalPool(SetterMethod);
 2521     if (SetterMethod)
 2522       AddFactoryMethodToGlobalPool(SetterMethod);
 2534   if (SetterMethod)
 2535     CheckObjCMethodOverrides(SetterMethod, CurrentClass, Sema::RTC_Unknown);