Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/tools/libclang/
H A DCIndexInclusionStack.cpp42 const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsigned, bool*) const; in clang_getInclusions() local
44 Getter = &SourceManager::getLoadedSLocEntry; in clang_getInclusions()
47 Getter = &SourceManager::getLocalSLocEntry; in clang_getInclusions()
51 const SrcMgr::SLocEntry &SL = (SM.*Getter)(i, &Invalid); in clang_getInclusions()
H A DIndexingContext.cpp613 if (ObjCMethodDecl *Getter = D->getGetterMethodDecl()) { in handleObjCProperty() local
614 getEntityInfo(Getter, GetterEntity, SA); in handleObjCProperty()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaPseudoObject.cpp262 ObjCMethodDecl *Getter; member in __anon27550bc70111::ObjCPropertyOpBuilder
552 } else if (Getter) { in isWeakProperty()
553 T = Getter->getReturnType(); in isWeakProperty()
562 if (Getter) return true; in findGetter()
567 GetterSelector = Getter->getSelector(); in findGetter()
586 return (Getter != nullptr); in findGetter()
684 if (!Getter) { in buildGet()
701 if (!Getter->isImplicit()) in buildGet()
850 if (!Getter) { in tryBuildGetOfReference()
858 QualType resultType = Getter->getReturnType(); in tryBuildGetOfReference()
[all …]
H A DSemaExprObjC.cpp1635 if (!Getter) in HandleExprPropertyRefExpr()
1639 if (!Getter) in HandleExprPropertyRefExpr()
1640 Getter = IFace->lookupPrivateMethod(Sel); in HandleExprPropertyRefExpr()
1642 if (Getter) { in HandleExprPropertyRefExpr()
1644 if (DiagnoseUseOfDecl(Getter, MemberLoc)) in HandleExprPropertyRefExpr()
1683 if (Getter || Setter) { in HandleExprPropertyRefExpr()
1792 if (!Getter) in ActOnClassPropertyRefExpr()
1793 Getter = IFace->lookupPrivateClassMethod(Sel); in ActOnClassPropertyRefExpr()
1795 if (Getter) { in ActOnClassPropertyRefExpr()
1821 if (Getter || Setter) { in ActOnClassPropertyRefExpr()
[all …]
H A DSemaExprMember.cpp1477 ObjCMethodDecl *Getter; in LookupMemberExpr() local
1478 if ((Getter = IFace->lookupClassMethod(Sel))) { in LookupMemberExpr()
1480 if (S.DiagnoseUseOfDecl(Getter, MemberLoc)) in LookupMemberExpr()
1483 Getter = IFace->lookupPrivateMethod(Sel, false); in LookupMemberExpr()
1500 if (Getter || Setter) { in LookupMemberExpr()
1502 Getter, Setter, S.Context.PseudoObjectTy, VK_LValue, in LookupMemberExpr()
H A DSemaCodeComplete.cpp4722 CodeCompletionBuilder Getter(Results.getAllocator(), in CodeCompleteObjCPropertyFlags() local
4724 Getter.AddTypedTextChunk("getter"); in CodeCompleteObjCPropertyFlags()
4725 Getter.AddTextChunk("="); in CodeCompleteObjCPropertyFlags()
4726 Getter.AddPlaceholderChunk("method"); in CodeCompleteObjCPropertyFlags()
4727 Results.AddResult(CodeCompletionResult(Getter.TakeString())); in CodeCompleteObjCPropertyFlags()
H A DTreeTransform.h2669 ObjCMethodDecl *Getter, in RebuildObjCPropertyRefExpr() argument
2675 new (getSema().Context) ObjCPropertyRefExpr(Getter, Setter, T, in RebuildObjCPropertyRefExpr()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DExprObjC.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,
694 if (const ObjCMethodDecl *Getter = PDecl->getGetterMethodDecl())
695 ResultType = Getter->getReturnType();
699 const ObjCMethodDecl *Getter = getImplicitPropertyGetter();
700 if (Getter)
701 ResultType = Getter->getReturnType(); // with reference!
[all …]
H A DDeclCXX.h3227 IdentifierInfo *Getter, IdentifierInfo *Setter) in MSPropertyDecl() argument
3229 GetterId(Getter), SetterId(Setter) {} in MSPropertyDecl()
3235 IdentifierInfo *Getter, IdentifierInfo *Setter);
/minix/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h345 template <typename T> struct TypeMatcher##MatcherName##Getter { \
350 QualType, internal::TypeMatcher##MatcherName##Getter, \
357 template <typename T> struct TypeLocMatcher##MatcherName##Getter { \
362 TypeLoc, internal::TypeLocMatcher##MatcherName##Getter, \
H A DASTMatchersInternal.h1594 template <typename OuterT> class Getter,
1599 typedef TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl,
1612 new MatcherImpl<OuterT>(InnerMatcher, Getter<OuterT>::value()));
1644 template <typename InnerTBase, template <typename OuterT> class Getter,
1646 TypeTraversePolymorphicMatcher<InnerTBase, Getter, MatcherImpl, ReturnTypesF>
1648 InnerTBase, Getter, MatcherImpl,
/minix/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp459 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty() argument
476 std::string PropertyNameString = Getter->getNameAsString(); in rewriteToObjCProperty()
497 QualType QT = Getter->getReturnType(); in rewriteToObjCProperty()
501 QualType ResType = Context.getCanonicalType(Getter->getReturnType()); in rewriteToObjCProperty()
512 QualType RT = Getter->getReturnType(); in rewriteToObjCProperty()
550 SourceLocation StartGetterSelectorLoc = Getter->getSelectorStartLoc(); in rewriteToObjCProperty()
551 Selector GetterSelector = Getter->getSelector(); in rewriteToObjCProperty()
555 commit.replace(CharSourceRange::getCharRange(Getter->getLocStart(), in rewriteToObjCProperty()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1605 const ObjCMethodDecl *Getter) { in hasDefaultGetterName() argument
1607 if (!Getter) in hasDefaultGetterName()
1610 assert(Getter->getDeclName().isObjCZeroArgSelector()); in hasDefaultGetterName()
1612 Getter->getDeclName().getObjCSelector().getNameForSlot(0); in hasDefaultGetterName()
1698 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
1702 hasDefaultGetterName(PD, Getter) ? "" in CreateTypeDefinition()
1772 ObjCMethodDecl *Getter = PD->getGetterMethodDecl(); in CreateTypeDefinition() local
1776 hasDefaultGetterName(PD, Getter) ? "" : getSelectorName( in CreateTypeDefinition()
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp2172 IdentifierInfo *Getter, in Create() argument
2174 return new (C, DC) MSPropertyDecl(DC, L, N, T, TInfo, StartL, Getter, Setter); in Create()
/minix/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5406 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
5407 if (!Getter->isDefined()) in RewriteObjCClassMetaData()
5408 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
5684 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
5685 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
H A DRewriteModernObjC.cpp7204 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCClassMetaData() local
7206 InstanceMethods.push_back(Getter); in RewriteObjCClassMetaData()
7456 if (ObjCMethodDecl *Getter = PD->getGetterMethodDecl()) in RewriteObjCCategoryImplDecl() local
7457 InstanceMethods.push_back(Getter); in RewriteObjCCategoryImplDecl()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp999 ObjCMethodDecl *Getter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); in VisitObjCPropertyRefExpr() local
1001 E->setImplicitProperty(Getter, Setter, MethodRefFlags); in VisitObjCPropertyRefExpr()
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h3371 ObjCMethodDecl *Getter,