Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDebugContainerModeling.cpp32 template <typename Getter>
34 Getter get) const;
77 template <typename Getter>
80 Getter get) const { in analyzerContainerDataField()
H A DDebugIteratorModeling.cpp32 template <typename Getter>
34 Getter get, SVal Default) const;
80 template <typename Getter>
83 Getter get, in analyzerIteratorDataField()
/freebsd-13.1/contrib/llvm-project/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.h1902 template <typename OuterT> class Getter,
1907 using Self = TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl,
1921 new MatcherImpl<OuterT>(InnerMatcher, Getter<OuterT>::value()));
1954 template <typename InnerTBase, template <typename OuterT> class Getter,
1956 TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl, ReturnTypesF>
1958 InnerTBase, Getter, MatcherImpl,
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp268 ObjCMethodDecl *Getter; member in __anoneba743100111::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.cpp1551 ObjCMethodDecl *Getter; in LookupMemberExpr() local
1552 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr()
1554 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1557 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr()
1574 if (Getter || Setter) { in LookupMemberExpr()
1576 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
H A DSemaDeclObjC.cpp3986 if (auto *Getter = PropImpl->getGetterMethodDecl()) in ActOnAtEnd() local
3987 if (Getter->isSynthesizedAccessorStub()) in ActOnAtEnd()
3988 OID->addDecl(Getter); in ActOnAtEnd()
4844 if (auto *Getter = PropertyImpl->getGetterMethodDecl()) in ActOnMethodDeclaration() local
4845 if (Getter->getSelector() == Sel && in ActOnMethodDeclaration()
4846 Getter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
4847 assert(Getter->isSynthesizedAccessorStub() && "autosynth stub expected"); in ActOnMethodDeclaration()
H A DSemaCodeComplete.cpp6859 CodeCompletionBuilder Getter(Results.getAllocator(), in CodeCompleteObjCPropertyFlags() local
6861 Getter.AddTypedTextChunk("getter"); in CodeCompleteObjCPropertyFlags()
6862 Getter.AddTextChunk("="); in CodeCompleteObjCPropertyFlags()
6863 Getter.AddPlaceholderChunk("method"); in CodeCompleteObjCPropertyFlags()
6864 Results.AddResult(CodeCompletionResult(Getter.TakeString())); in CodeCompleteObjCPropertyFlags()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp243 if (const ObjCMethodDecl *Getter = PRE->getImplicitPropertyGetter()) { in VisitObjCMessageExpr() local
247 if (Getter->isClassMethod() && in VisitObjCMessageExpr()
248 Getter->getCanonicalDecl()->findPropertyDecl()) in VisitObjCMessageExpr()
294 } else if (const ObjCMethodDecl *Getter = E->getImplicitPropertyGetter()) { in VisitObjCPropertyRefExpr() local
298 if (Getter->isClassMethod()) { in VisitObjCPropertyRefExpr()
299 if (const auto *PD = Getter->getCanonicalDecl()->findPropertyDecl()) { in VisitObjCPropertyRefExpr()
/freebsd-13.1/contrib/llvm-project/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.h4091 IdentifierInfo *Getter, IdentifierInfo *Setter) in MSPropertyDecl() argument
4093 GetterId(Getter), SetterId(Setter) {} in MSPropertyDecl()
4102 IdentifierInfo *Getter, IdentifierInfo *Setter);
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp57 for (const auto &Getter : AllowedTypes) in mutateModule() local
58 Types.push_back(Getter(M.getContext())); in mutateModule()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp455 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() argument
472 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
493 QualType QT = Getter->getReturnType(); in rewriteToObjCProperty()
497 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty()
508 QualType RT = Getter->getReturnType(); in rewriteToObjCProperty()
546 SourceLocation StartGetterSelectorLoc = Getter->getSelectorStartLoc(); in rewriteToObjCProperty()
547 Selector GetterSelector = Getter->getSelector(); in rewriteToObjCProperty()
551 commit.replace(CharSourceRange::getCharRange(Getter->getBeginLoc(), in rewriteToObjCProperty()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysis.cpp932 for (auto &Getter : ResultGetters) in run() local
933 (*Getter)(F, AM, R); in run()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp158 RuntimeFunction Getter; member
289 ICV.Getter = RTL; \ in initializeInternalControlVars()
2143 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter]; in getValueForCall()
2333 auto &Getter = OMPInfoCache.RFIs[ICVInfo.Getter]; in initialize() local
2334 if (Getter.Declaration == getAssociatedFunction()) { in initialize()
4009 auto &GetterRFI = OMPInfoCache.RFIs[ICVInfo.Getter]; in registerAAs()
/freebsd-13.1/contrib/kyua/
H A DCONTRIBUTING.md172 * Getter functions/methods only need to be documented via `\return`. A
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2514 const ObjCMethodDecl *Getter) { in hasDefaultGetterName() argument
2516 if (!Getter) in hasDefaultGetterName()
2519 assert(Getter->getDeclName().isObjCZeroArgSelector()); in hasDefaultGetterName()
2521 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
2713 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
2717 hasDefaultGetterName(PD, Getter) ? "" in CreateTypeDefinition()
2812 ObjCMethodDecl *Getter = PImpD->getGetterMethodDecl(); in CreateTypeDefinition() local
2816 hasDefaultGetterName(PD, Getter) in CreateTypeDefinition()
H A DCodeGenModule.cpp5581 auto *Getter = PID->getGetterMethodDecl(); in EmitObjCPropertyImplementations() local
5582 if (!Getter || Getter->isSynthesizedAccessorStub()) in EmitObjCPropertyImplementations()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmtPrinter.cpp1074 if (const auto *Getter = Node->getImplicitPropertyGetter()) in VisitObjCPropertyRefExpr() local
1075 Getter->getSelector().print(OS); in VisitObjCPropertyRefExpr()
H A DDeclCXX.cpp3265 IdentifierInfo *Getter, in Create() argument
3267 return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter); in Create()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1521 FunctionCallee Getter = MS.getKmsanShadowOriginAccessFn(isStore, Size); in getShadowOriginPtrKernel() local
1524 if (Getter) { in getShadowOriginPtrKernel()
1525 ShadowOriginPtrs = IRB.CreateCall(Getter, AddrCast); in getShadowOriginPtrKernel()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1496 auto *Getter = readDeclAs<ObjCMethodDecl>(); in VisitObjCPropertyRefExpr() local
1498 E->setImplicitProperty(Getter, Setter, MethodRefFlags); in VisitObjCPropertyRefExpr()

12