Searched refs:Setter (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp277 ObjCMethodDecl *Setter; member in class:__anon664::ObjCPropertyOpBuilder
285 InstanceReceiver(nullptr), Getter(nullptr), Setter(nullptr) {
637 /// \return true if a setter was found, in which case Setter
642 Setter = setter;
683 Setter = setter;
777 QualType paramType = (*Setter->param_begin())->getType()
780 Setter->getDeclContext(),
802 if (!Setter->isImplicit())
803 S.DiagnoseUseOfDecl(Setter, GenericLoc, nullptr, true);
804 if ((Setter
[all...]
H A DSemaExprObjC.cpp1932 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel); local
1935 if (!Setter)
1936 Setter = LookupMethodInQualifiedType(SetterSel, OPT, true);
1938 if (!Setter) {
1941 Setter = IFace->lookupPrivateMethod(SetterSel);
1944 if (Setter && DiagnoseUseOfDecl(Setter, MemberLoc))
1950 if (Setter && Setter->isImplicit() && Setter
2107 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); local
[all...]
H A DSemaExprMember.cpp1578 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); local
1579 if (!Setter) {
1582 Setter = IFace->lookupPrivateMethod(SetterSel, false);
1585 if (Setter && S.DiagnoseUseOfDecl(Setter, MemberLoc))
1588 if (Getter || Setter) {
1590 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue,
H A DSemaDeclObjC.cpp3929 if (auto *Setter = PropImpl->getSetterMethodDecl())
3930 if (Setter->isSynthesizedAccessorStub()) {
3931 OID->makeDeclVisibleInContext(Setter);
3932 OID->addDecl(Setter);
4720 if (auto *Setter = PropertyImpl->getSetterMethodDecl())
4721 if (Setter->getSelector() == Sel &&
4722 Setter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) {
4723 assert(Setter->isSynthesizedAccessorStub() && "autosynth stub expected");
H A DSemaCodeComplete.cpp6123 CodeCompletionBuilder Setter(Results.getAllocator(),
6125 Setter.AddTypedTextChunk("setter");
6126 Setter.AddTextChunk("=");
6127 Setter.AddPlaceholderChunk("method");
6128 Results.AddResult(CodeCompletionResult(Setter.TakeString()));
H A DTreeTransform.h3280 ObjCMethodDecl *Setter,
3285 new (getSema().Context) ObjCPropertyRefExpr(Getter, Setter, T,
3278 RebuildObjCPropertyRefExpr(Expr *Base, QualType T, ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, SourceLocation PropertyLoc) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h617 /// pointer is an (optional) ObjCMethodDecl and Setter may be set.
619 /// the pointer is an ObjCPropertyDecl and Setter is always null.
631 /// Contains the Setter method pointer and MethodRefFlags bit flags.
670 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, argument
676 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
681 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, argument
686 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
691 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, argument
696 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
818 void setImplicitProperty(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, argument
[all...]
H A DDeclCXX.h3945 IdentifierInfo *Getter, IdentifierInfo *Setter)
3947 GetterId(Getter), SetterId(Setter) {}
3956 IdentifierInfo *Getter, IdentifierInfo *Setter);
3943 MSPropertyDecl(DeclContext *DC, SourceLocation L, DeclarationName N, QualType T, TypeSourceInfo *TInfo, SourceLocation StartL, IdentifierInfo *Getter, IdentifierInfo *Setter) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp464 const ObjCMethodDecl *Setter,
492 if (!Setter)
504 } else if (!Setter) {
509 const ParmVarDecl *argDecl = *Setter->param_begin();
562 if (Setter && AvailabilityArgsMatch) {
563 SourceLocation EndLoc = Setter->getDeclaratorEndLoc();
566 SourceLocation BeginOfSetterDclLoc = Setter->getBeginLoc();
463 rewriteToObjCProperty(const ObjCMethodDecl *Getter, const ObjCMethodDecl *Setter, const NSAPI &NS, edit::Commit &commit, unsigned LengthOfPrefix, bool Atomic, bool UseNsIosOnlyMacro, bool AvailabilityArgsMatch) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DTextNodeDumper.cpp1020 OS << "\" Setter=\"";
1021 if (ObjCMethodDecl *Setter = Node->getImplicitPropertySetter())
1022 Setter->getSelector().print(OS);
1036 OS << "Getter&Setter";
1040 OS << "Setter";
H A DDeclCXX.cpp3143 IdentifierInfo *Setter) {
3144 return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter);
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2354 /// \return true if Setter has the default name for the property PD.
2356 const ObjCMethodDecl *Setter) {
2358 if (!Setter)
2361 assert(Setter->getDeclName().isObjCOneArgSelector());
2363 Setter->getDeclName().getObjCSelector().getNameForSlot(0);
2527 ObjCMethodDecl *Setter = PD->getSetterMethodDecl();
2532 hasDefaultSetterName(PD, Setter) ? ""
2616 ObjCMethodDecl *Setter = PImpD->getSetterMethodDecl(); local
2622 hasDefaultSetterName(PD, Setter)
2355 hasDefaultSetterName(const ObjCPropertyDecl *PD, const ObjCMethodDecl *Setter) argument
H A DCodeGenModule.cpp5171 auto *Setter = PID->getSetterMethodDecl(); local
5172 if (!PD->isReadOnly() && (!Setter || Setter->isSynthesizedAccessorStub()))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5369 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl())
5370 if (!Setter->isDefined())
5371 InstanceMethods.push_back(Setter);
5646 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl())
5647 InstanceMethods.push_back(Setter);
H A DRewriteModernObjC.cpp7043 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl())
7045 InstanceMethods.push_back(Setter);
7292 if (ObjCMethodDecl *Setter = Prop->getSetterMethodDecl())
7293 InstanceMethods.push_back(Setter);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1372 auto *Setter = readDeclAs<ObjCMethodDecl>(); local
1373 E->setImplicitProperty(Getter, Setter, MethodRefFlags);

Completed in 315 milliseconds