Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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.h1874 template <typename OuterT> class Getter,
1879 using Self = TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl,
1893 new MatcherImpl<OuterT>(InnerMatcher, Getter<OuterT>::value()));
1926 template <typename InnerTBase, template <typename OuterT> class Getter,
1928 TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl, ReturnTypesF>
1930 InnerTBase, Getter, MatcherImpl,
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaPseudoObject.cpp268 ObjCMethodDecl *Getter; member in __anon0c3a01290111::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()
743 GenericLoc, Getter->getSelector(), Getter, in buildGet()
867 if (!Getter) { in tryBuildGetOfReference()
[all …]
H A DSemaExprObjC.cpp2039 if (!Getter) in HandleExprPropertyRefExpr()
2043 if (!Getter) in HandleExprPropertyRefExpr()
2044 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr()
2046 if (Getter) { in HandleExprPropertyRefExpr()
2048 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr()
2089 if (Getter || Setter) { in HandleExprPropertyRefExpr()
2221 if (!Getter) in ActOnClassPropertyRefExpr()
2224 if (Getter) { in ActOnClassPropertyRefExpr()
2227 if (DiagnoseUseOfDecl(Getter, propertyNameLoc)) in ActOnClassPropertyRefExpr()
2245 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.cpp4002 if (auto *Getter = PropImpl->getGetterMethodDecl()) in ActOnAtEnd() local
4003 if (Getter->isSynthesizedAccessorStub()) in ActOnAtEnd()
4004 OID->addDecl(Getter); in ActOnAtEnd()
4864 if (auto *Getter = PropertyImpl->getGetterMethodDecl()) in ActOnMethodDeclaration() local
4865 if (Getter->getSelector() == Sel && in ActOnMethodDeclaration()
4866 Getter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
4867 assert(Getter->isSynthesizedAccessorStub() && "autosynth stub expected"); in ActOnMethodDeclaration()
H A DSemaCodeComplete.cpp7397 CodeCompletionBuilder Getter(Results.getAllocator(), in CodeCompleteObjCPropertyFlags() local
7399 Getter.AddTypedTextChunk("getter"); in CodeCompleteObjCPropertyFlags()
7400 Getter.AddTextChunk("="); in CodeCompleteObjCPropertyFlags()
7401 Getter.AddPlaceholderChunk("method"); in CodeCompleteObjCPropertyFlags()
7402 Results.AddResult(CodeCompletionResult(Getter.TakeString())); in CodeCompleteObjCPropertyFlags()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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.h4153 IdentifierInfo *Getter, IdentifierInfo *Setter) in MSPropertyDecl() argument
4155 GetterId(Getter), SetterId(Setter) {} in MSPropertyDecl()
4164 IdentifierInfo *Getter, IdentifierInfo *Setter);
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/FuzzMutate/
H A DIRMutator.cpp67 for (const auto &Getter : AllowedTypes) in mutateModule() local
68 Types.push_back(Getter(M.getContext())); in mutateModule()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DAliasAnalysis.cpp838 for (auto &Getter : ResultGetters) in run() local
839 (*Getter)(F, AM, R); in run()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp221 RuntimeFunction Getter; member
352 ICV.Getter = RTL; \ in initializeInternalControlVars()
2249 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter]; in getValueForCall()
2443 auto &Getter = OMPInfoCache.RFIs[ICVInfo.Getter]; in initialize() local
2444 if (Getter.Declaration == getAssociatedFunction()) { in initialize()
5138 auto &GetterRFI = OMPInfoCache.RFIs[ICVInfo.Getter]; in registerAAs()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp851 if (ObjCMethodDecl *Getter = D->getGetterMethodDecl()) { in handleObjCProperty() local
852 getEntityInfo(Getter, GetterEntity, SA); in handleObjCProperty()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2651 const ObjCMethodDecl *Getter) { in hasDefaultGetterName() argument
2653 if (!Getter) in hasDefaultGetterName()
2656 assert(Getter->getDeclName().isObjCZeroArgSelector()); in hasDefaultGetterName()
2658 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
2854 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
2858 hasDefaultGetterName(PD, Getter) ? "" in CreateTypeDefinition()
2956 ObjCMethodDecl *Getter = PImpD->getGetterMethodDecl(); in CreateTypeDefinition() local
2960 hasDefaultGetterName(PD, Getter) in CreateTypeDefinition()
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp219 const std::string Getter = in EmitSubtargetInfoMacroCalls() local
223 << Getter << ")\n"; in EmitSubtargetInfoMacroCalls()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/AST/
H A DStmtPrinter.cpp1224 if (const auto *Getter = Node->getImplicitPropertyGetter()) in VisitObjCPropertyRefExpr() local
1225 Getter->getSelector().print(OS); in VisitObjCPropertyRefExpr()
H A DDeclCXX.cpp3333 IdentifierInfo *Getter, in Create() argument
3335 return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter); in Create()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1692 FunctionCallee Getter = MS.getKmsanShadowOriginAccessFn(isStore, Size); in getShadowOriginPtrKernelNoVec() local
1695 if (Getter) { in getShadowOriginPtrKernelNoVec()
1696 ShadowOriginPtrs = IRB.CreateCall(Getter, AddrCast); in getShadowOriginPtrKernelNoVec()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1487 auto *Getter = readDeclAs<ObjCMethodDecl>(); in VisitObjCPropertyRefExpr() local
1489 E->setImplicitProperty(Getter, Setter, MethodRefFlags); in VisitObjCPropertyRefExpr()

12