Home
last modified time | relevance | path

Searched refs:Getter (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDebugContainerModeling.cpp33 template <typename Getter>
35 Getter get) const;
78 template <typename Getter>
81 Getter get) const { in analyzerContainerDataField()
H A DDebugIteratorModeling.cpp33 template <typename Getter>
35 Getter get, SVal Default) const;
81 template <typename Getter>
84 Getter get, in analyzerIteratorDataField()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h366 template <typename T> struct TypeMatcher##MatcherName##Getter { \
373 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
380 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
393 template <typename T> struct TypeMatcher##MatcherName##Getter { \
399 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
406 template <typename T> struct TypeLocMatcher##MatcherName##Getter { \
414 TypeLocMatcher##MatcherName##Getter, \
422 ::clang::ast_matchers::internal::TypeLocMatcher##MatcherName##Getter, \
431 template <typename T> struct TypeLocMatcher##MatcherName##Getter { \
437 ::clang::ast_matchers::internal::TypeLocMatcher##MatcherName##Getter, \
H A DASTMatchersInternal.h1890 template <typename OuterT> class Getter,
1895 using Self = TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl,
1909 new MatcherImpl<OuterT>(InnerMatcher, Getter<OuterT>::value()));
1942 template <typename InnerTBase, template <typename OuterT> class Getter,
1944 TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl, ReturnTypesF>
1946 InnerTBase, Getter, MatcherImpl,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaPseudoObject.cpp268 ObjCMethodDecl *Getter; member in __anon11035d8c0111::ObjCPropertyOpBuilder
589 } else if (Getter) { in isWeakProperty()
590 T = Getter->getReturnType(); in isWeakProperty()
599 if (Getter) return true; in findGetter()
604 GetterSelector = Getter->getSelector(); in findGetter()
623 return (Getter != nullptr); in findGetter()
722 if (!Getter) { in buildGet()
731 if (!Getter->isImplicit()) in buildGet()
867 if (!Getter) { in tryBuildGetOfReference()
875 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference()
[all …]
H A DSemaExprObjC.cpp2041 if (!Getter) in HandleExprPropertyRefExpr()
2045 if (!Getter) in HandleExprPropertyRefExpr()
2046 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr()
2048 if (Getter) { in HandleExprPropertyRefExpr()
2050 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr()
2091 if (Getter || Setter) { in HandleExprPropertyRefExpr()
2223 if (!Getter) in ActOnClassPropertyRefExpr()
2226 if (Getter) { in ActOnClassPropertyRefExpr()
2229 if (DiagnoseUseOfDecl(Getter, propertyNameLoc)) in ActOnClassPropertyRefExpr()
2247 if (Getter || Setter) { in ActOnClassPropertyRefExpr()
[all …]
H A DSemaExprMember.cpp1567 ObjCMethodDecl *Getter; in LookupMemberExpr() local
1568 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr()
1570 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1573 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr()
1590 if (Getter || Setter) { in LookupMemberExpr()
1592 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
H A DSemaDeclObjC.cpp3994 if (auto *Getter = PropImpl->getGetterMethodDecl()) in ActOnAtEnd() local
3995 if (Getter->isSynthesizedAccessorStub()) in ActOnAtEnd()
3996 OID->addDecl(Getter); in ActOnAtEnd()
4852 if (auto *Getter = PropertyImpl->getGetterMethodDecl()) in ActOnMethodDeclaration() local
4853 if (Getter->getSelector() == Sel && in ActOnMethodDeclaration()
4854 Getter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
4855 assert(Getter->isSynthesizedAccessorStub() && "autosynth stub expected"); in ActOnMethodDeclaration()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp247 if (const ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) { in VisitObjCMessageExpr() local
251 if (Getter->isClassMethod() && in VisitObjCMessageExpr()
252 Getter->getCanonicalDecl()->findPropertyDecl()) in VisitObjCMessageExpr()
298 } else if (const ObjCMethodDecl *Getter = E->getImplicitPropertyGetter()) { in VisitObjCPropertyRefExpr() local
302 if (Getter->isClassMethod()) { in VisitObjCPropertyRefExpr()
303 if (const auto *PD = Getter->getCanonicalDecl()->findPropertyDecl()) { in VisitObjCPropertyRefExpr()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddllimport-memptr.cpp7 template <int (Foo::*Getter)()> struct HasValue { };
/llvm-project-15.0.7/clang/test/Parser/
H A Ddeclspec-recovery.c6 …__declspec(property(get=Getter, put=Setter)) int X; // expected-error{{'__declspec' attributes are…
H A Ddeclspec-supported.c8 __declspec(property(get=Getter, put=Setter)) int X;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprObjC.h665 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() argument
669 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0), in ObjCPropertyRefExpr()
675 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() argument
680 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0), in ObjCPropertyRefExpr()
686 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in ObjCPropertyRefExpr() argument
691 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0), in ObjCPropertyRefExpr()
814 void setImplicitProperty(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, in setImplicitProperty() argument
816 PropertyOrGetter.setPointer(Getter); in setImplicitProperty()
H A DDeclCXX.h4125 IdentifierInfo *Getter, IdentifierInfo *Setter) in MSPropertyDecl() argument
4127 GetterId(Getter), SetterId(Setter) {} in MSPropertyDecl()
4136 IdentifierInfo *Getter, IdentifierInfo *Setter);
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DIRMutator.cpp62 for (const auto &Getter : AllowedTypes) in mutateModule() local
63 Types.push_back(Getter(M.getContext())); in mutateModule()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp455 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() argument
472 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
492 QualType QT = Getter->getReturnType(); in rewriteToObjCProperty()
496 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty()
507 QualType RT = Getter->getReturnType(); in rewriteToObjCProperty()
545 SourceLocation StartGetterSelectorLoc = Getter->getSelectorStartLoc(); in rewriteToObjCProperty()
546 Selector GetterSelector = Getter->getSelector(); in rewriteToObjCProperty()
550 commit.replace(CharSourceRange::getCharRange(Getter->getBeginLoc(), in rewriteToObjCProperty()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DAliasAnalysis.cpp927 for (auto &Getter : ResultGetters) in run() local
928 (*Getter)(F, AM, R); in run()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp216 RuntimeFunction Getter; member
347 ICV.Getter = RTL; \ in initializeInternalControlVars()
2453 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter]; in getValueForCall()
2647 auto &Getter = OMPInfoCache.RFIs[ICVInfo.Getter]; in initialize() local
2648 if (Getter.Declaration == getAssociatedFunction()) { in initialize()
4770 auto &GetterRFI = OMPInfoCache.RFIs[ICVInfo.Getter]; in registerAAs()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp851 if (ObjCMethodDecl *Getter = D->getGetterMethodDecl()) { in handleObjCProperty() local
852 getEntityInfo(Getter, GetterEntity, SA); in handleObjCProperty()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2641 const ObjCMethodDecl *Getter) { in hasDefaultGetterName() argument
2643 if (!Getter) in hasDefaultGetterName()
2646 assert(Getter->getDeclName().isObjCZeroArgSelector()); in hasDefaultGetterName()
2648 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
2840 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
2844 hasDefaultGetterName(PD, Getter) ? "" in CreateTypeDefinition()
2939 ObjCMethodDecl *Getter = PImpD->getGetterMethodDecl(); in CreateTypeDefinition() local
2943 hasDefaultGetterName(PD, Getter) in CreateTypeDefinition()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp219 const std::string Getter = in EmitSubtargetInfoMacroCalls() local
223 << Getter << ")\n"; in EmitSubtargetInfoMacroCalls()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5362 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
5363 if (!Getter->isDefined()) in RewriteObjCClassMetaData()
5364 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
5640 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
5641 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
H A DRewriteModernObjC.cpp7038 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
7040 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
7288 if (ObjCMethodDecl *Getter = Prop->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
7289 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtPrinter.cpp1218 if (const auto *Getter = Node->getImplicitPropertyGetter()) in VisitObjCPropertyRefExpr() local
1219 Getter->getSelector().print(OS); in VisitObjCPropertyRefExpr()
H A DDeclCXX.cpp3281 IdentifierInfo *Getter, in Create() argument
3283 return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter); in Create()

12