Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaPseudoObject.cpp262 ObjCMethodDecl *Getter; member in __anonc2efa3550111::ObjCPropertyOpBuilder
271 SyntacticRefExpr(nullptr), InstanceReceiver(nullptr), Getter(nullptr), in ObjCPropertyOpBuilder()
552 } else if (Getter) { in isWeakProperty()
553 T = Getter->getReturnType(); in isWeakProperty()
562 if (Getter) return true; in findGetter()
566 if ((Getter = RefExpr->getImplicitPropertyGetter())) { in findGetter()
567 GetterSelector = Getter->getSelector(); in findGetter()
585 Getter = LookupMethodInReceiverType(S, prop->getGetterName(), RefExpr); in findGetter()
586 return (Getter != nullptr); in findGetter()
684 if (!Getter) { in buildGet()
[all …]
HDSemaExprObjC.cpp1819 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr() local
1822 if (!Getter) in HandleExprPropertyRefExpr()
1823 Getter = LookupMethodInQualifiedType(Sel, OPT, true); in HandleExprPropertyRefExpr()
1826 if (!Getter) in HandleExprPropertyRefExpr()
1827 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr()
1829 if (Getter) { in HandleExprPropertyRefExpr()
1831 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr()
1870 if (Getter || Setter) { in HandleExprPropertyRefExpr()
1873 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
1877 ObjCPropertyRefExpr(Getter, Setter, Context.PseudoObjectTy, VK_LValue, in HandleExprPropertyRefExpr()
[all …]
HDSemaExprMember.cpp1475 ObjCMethodDecl *Getter; in LookupMemberExpr() local
1476 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr()
1478 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1481 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr()
1498 if (Getter || Setter) { in LookupMemberExpr()
1500 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
HDSemaCodeComplete.cpp4928 CodeCompletionBuilder Getter(Results.getAllocator(), in CodeCompleteObjCPropertyFlags() local
4930 Getter.AddTypedTextChunk("getter"); in CodeCompleteObjCPropertyFlags()
4931 Getter.AddTextChunk("="); in CodeCompleteObjCPropertyFlags()
4932 Getter.AddPlaceholderChunk("method"); in CodeCompleteObjCPropertyFlags()
4933 Results.AddResult(CodeCompletionResult(Getter.TakeString())); in CodeCompleteObjCPropertyFlags()
HDTreeTransform.h2722 ObjCMethodDecl *Getter, in RebuildObjCPropertyRefExpr() argument
2728 new (getSema().Context) ObjCPropertyRefExpr(Getter, Setter, T, in RebuildObjCPropertyRefExpr()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchersMacros.h379 template <typename T> struct TypeMatcher##MatcherName##Getter { \
385 ::clang::ast_matchers::internal::TypeMatcher##MatcherName##Getter, \
393 template <typename T> struct TypeLocMatcher##MatcherName##Getter { \
399 ::clang::ast_matchers::internal::TypeLocMatcher##MatcherName##Getter, \
HDASTMatchersInternal.h1477 template <typename OuterT> class Getter,
1482 typedef TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl,
1495 new MatcherImpl<OuterT>(InnerMatcher, Getter<OuterT>::value()));
1527 template <typename InnerTBase, template <typename OuterT> class Getter,
1529 TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl, ReturnTypesF>
1531 InnerTBase, Getter, MatcherImpl,
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDExprObjC.h591 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
597 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
602 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
607 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
612 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
617 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
728 void setImplicitProperty(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
730 PropertyOrGetter.setPointer(Getter);
HDDeclCXX.h3231 IdentifierInfo *Getter, IdentifierInfo *Setter) in MSPropertyDecl() argument
3233 GetterId(Getter), SetterId(Setter) {} in MSPropertyDecl()
3239 IdentifierInfo *Getter, IdentifierInfo *Setter);
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDObjCMT.cpp462 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() argument
479 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
500 QualType QT = Getter->getReturnType(); in rewriteToObjCProperty()
504 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty()
515 QualType RT = Getter->getReturnType(); in rewriteToObjCProperty()
553 SourceLocation StartGetterSelectorLoc = Getter->getSelectorStartLoc(); in rewriteToObjCProperty()
554 Selector GetterSelector = Getter->getSelector(); in rewriteToObjCProperty()
558 commit.replace(CharSourceRange::getCharRange(Getter->getLocStart(), in rewriteToObjCProperty()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.cpp1568 const ObjCMethodDecl *Getter) { in hasDefaultGetterName() argument
1570 if (!Getter) in hasDefaultGetterName()
1573 assert(Getter->getDeclName().isObjCZeroArgSelector()); in hasDefaultGetterName()
1575 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
1702 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
1706 hasDefaultGetterName(PD, Getter) ? "" in CreateTypeDefinition()
1776 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
1780 hasDefaultGetterName(PD, Getter) ? "" : getSelectorName( in CreateTypeDefinition()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclCXX.cpp2206 IdentifierInfo *Getter, in Create() argument
2208 return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter); in Create()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteObjC.cpp5399 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
5400 if (!Getter->isDefined()) in RewriteObjCClassMetaData()
5401 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
5677 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
5678 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
HDRewriteModernObjC.cpp7191 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
7193 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
7443 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
7444 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderStmt.cpp1009 ObjCMethodDecl *Getter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr() local
1011 E->setImplicitProperty(Getter, Setter, MethodRefFlags); in VisitObjCPropertyRefExpr()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h3498 ObjCMethodDecl *Getter,