Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaPseudoObject.cpp258 ObjCMethodDecl *Getter; member in __anond560dfee0111::ObjCPropertyOpBuilder
267 SyntacticRefExpr(0), InstanceReceiver(0), Getter(0), Setter(0) { in ObjCPropertyOpBuilder()
542 } else if (Getter) { in isWeakProperty()
543 T = Getter->getResultType(); in isWeakProperty()
552 if (Getter) return true; in findGetter()
556 if ((Getter = RefExpr->getImplicitPropertyGetter())) { in findGetter()
557 GetterSelector = Getter->getSelector(); in findGetter()
577 Getter = LookupMethodInReceiverType(S, prop->getGetterName(), RefExpr); in findGetter()
578 return (Getter != 0); in findGetter()
664 assert(Getter); in buildGet()
[all …]
DSemaExprObjC.cpp1567 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); in HandleExprPropertyRefExpr() local
1570 if (!Getter) in HandleExprPropertyRefExpr()
1571 Getter = LookupMethodInQualifiedType(Sel, OPT, true); in HandleExprPropertyRefExpr()
1574 if (!Getter) in HandleExprPropertyRefExpr()
1575 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr()
1577 if (Getter) { in HandleExprPropertyRefExpr()
1579 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr()
1602 if (Getter || Setter) { in HandleExprPropertyRefExpr()
1604 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in HandleExprPropertyRefExpr()
1610 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in HandleExprPropertyRefExpr()
[all …]
DSemaExprMember.cpp1476 ObjCMethodDecl *Getter; in LookupMemberExpr() local
1477 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr()
1479 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1482 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr()
1499 if (Getter || Setter) { in LookupMemberExpr()
1500 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in LookupMemberExpr()
DSemaCodeComplete.cpp4767 CodeCompletionBuilder Getter(Results.getAllocator(), in CodeCompleteObjCPropertyFlags() local
4769 Getter.AddTypedTextChunk("getter"); in CodeCompleteObjCPropertyFlags()
4770 Getter.AddTextChunk(" = "); in CodeCompleteObjCPropertyFlags()
4771 Getter.AddPlaceholderChunk("method"); in CodeCompleteObjCPropertyFlags()
4772 Results.AddResult(CodeCompletionResult(Getter.TakeString())); in CodeCompleteObjCPropertyFlags()
DTreeTransform.h2495 ObjCMethodDecl *Getter, in RebuildObjCPropertyRefExpr() argument
2501 new (getSema().Context) ObjCPropertyRefExpr(Getter, Setter, T, in RebuildObjCPropertyRefExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
DExprObjC.h582 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
588 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
593 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
598 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
603 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter,
608 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0),
685 if (const ObjCMethodDecl *Getter = PDecl->getGetterMethodDecl())
686 ResultType = Getter->getResultType();
690 const ObjCMethodDecl *Getter = getImplicitPropertyGetter();
691 if (Getter)
[all …]
DDeclCXX.h3089 SourceLocation StartL, IdentifierInfo *Getter, in MSPropertyDecl() argument
3091 DeclaratorDecl(MSProperty, DC, L, N, T, TInfo, StartL), GetterId(Getter), in MSPropertyDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/ASTMatchers/
DASTMatchersMacros.h315 template <typename T> struct TypeMatcher##MatcherName##Getter { \
320 QualType, internal::TypeMatcher##MatcherName##Getter, \
327 template <typename T> struct TypeLocMatcher##MatcherName##Getter { \
332 TypeLoc, internal::TypeLocMatcher##MatcherName##Getter, \
DASTMatchersInternal.h1573 template <typename OuterT> class Getter,
1578 typedef TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl,
1591 new MatcherImpl<OuterT>(InnerMatcher, Getter<OuterT>::value()));
1606 template <typename InnerTBase, template <typename OuterT> class Getter,
1608 TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl, ReturnTypesF>
1610 InnerTBase, Getter, MatcherImpl,
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
DObjCMT.cpp318 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() argument
335 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
349 QualType ResType = Context.getCanonicalType(Getter->getResultType()); in rewriteToObjCProperty()
359 QualType QT = Getter->getResultType(); in rewriteToObjCProperty()
371 QualType RT = Getter->getResultType(); in rewriteToObjCProperty()
409 SourceLocation StartGetterSelectorLoc = Getter->getSelectorStartLoc(); in rewriteToObjCProperty()
410 Selector GetterSelector = Getter->getSelector(); in rewriteToObjCProperty()
414 commit.replace(CharSourceRange::getCharRange(Getter->getLocStart(), in rewriteToObjCProperty()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGDebugInfo.cpp1545 const ObjCMethodDecl *Getter) { in hasDefaultGetterName() argument
1547 if (!Getter) in hasDefaultGetterName()
1550 assert(Getter->getDeclName().isObjCZeroArgSelector()); in hasDefaultGetterName()
1552 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
1636 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateType() local
1641 hasDefaultGetterName(PD, Getter) ? "" : in CreateType()
1710 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateType() local
1715 hasDefaultGetterName(PD, Getter) ? "" : in CreateType()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp5483 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
5484 if (!Getter->isDefined()) in RewriteObjCClassMetaData()
5485 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
5765 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
5766 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
DRewriteModernObjC.cpp7318 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
7320 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
7579 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
7580 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Serialization/
DASTReaderStmt.cpp1000 ObjCMethodDecl *Getter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr() local
1002 E->setImplicitProperty(Getter, Setter, MethodRefFlags); in VisitObjCPropertyRefExpr()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
DSema.h3105 ObjCMethodDecl *Getter,