Home
last modified time | relevance | path

Searched refs:isInstanceMethod (Results 1 – 25 of 48) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp113 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
131 if (MD && MD->isInstanceMethod() && !MD->isImplicit()) in HasUserDeclaredSetterMethod()
936 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
941 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
1052 if (!isInstanceMethod()) in getMethodFamily()
1057 if (isInstanceMethod() || !getReturnType()->isVoidType()) in getMethodFamily()
1062 if (!isInstanceMethod() || !getReturnType()->isObjCIdType()) in getMethodFamily()
1101 if (isInstanceMethod()) { in getSelfType()
1114 if (isInstanceMethod()) { in getSelfType()
1234 Method->isInstanceMethod(), in CollectOverriddenMethodsRecurse()
[all …]
H A DComment.cpp258 IsInstanceMethod = MD->isInstanceMethod(); in fill()
H A DMangle.cpp361 OS << (MD->isInstanceMethod() ? '-' : '+') << '['; in mangleObjCMethodName()
H A DASTImporter.cpp4190 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
4197 << D->isInstanceMethod() << Name << D->getReturnType() in VisitObjCMethodDecl()
4201 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4209 << D->isInstanceMethod() << Name in VisitObjCMethodDecl()
4213 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4226 << D->isInstanceMethod() << Name in VisitObjCMethodDecl()
4239 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4242 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4264 D->isInstanceMethod(), D->isVariadic(), D->isPropertyAccessor(), in VisitObjCMethodDecl()
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexUSRs.cpp101 unsigned isInstanceMethod, in clang_constructUSR_ObjCMethod() argument
106 generateUSRForObjCMethod(name, isInstanceMethod, OS); in clang_constructUSR_ObjCMethod()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp335 if (MDecl->isInstanceMethod()) in AddAnyMethodToGlobalPool()
439 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
491 MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
1763 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
3446 if (!chosen->isInstanceMethod()) in isAcceptableMethodMismatch()
4004 if (Method->isInstanceMethod()) { in ActOnAtEnd()
4285 method->isInstanceMethod() ? it->second.first : it->second.second; in OverrideSearch()
4657 bool isInstance = Method->isInstanceMethod(); in checkObjCDirectMethodClashes()
4840 Setter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
4846 Getter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
[all …]
H A DSemaExprObjC.cpp1488 if (Method->isInstanceMethod() && isClassMessage) in getBaseMessageSendResultType()
1642 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
1708 << Method->isInstanceMethod() << Method->getSelector() in EmitRelatedResultTypeNote()
2176 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
2416 if (Method->isInstanceMethod()) { in ActOnSuperMessage()
2963 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), Methods)) in BuildInstanceMessage()
3023 if (Method->isInstanceMethod()) { in BuildInstanceMessage()
3033 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), in BuildInstanceMessage()
3110 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), in BuildInstanceMessage()
H A DSemaObjCProperty.cpp1056 Decl->getReturnTypeSourceInfo(), Impl, Decl->isInstanceMethod(), in RedeclarePropertyAccessor()
1441 getterMethod->getSelector(), getterMethod->isInstanceMethod()); in ActOnPropertyImplDecl()
1506 setterMethod->getSelector(), setterMethod->isInstanceMethod()); in ActOnPropertyImplDecl()
1843 Method->isInstanceMethod()); in IvarBacksCurrentMethodAccessor()
H A DSemaCodeComplete.cpp225 if (Method->isInstanceMethod()) in ResultBuilder()
2616 if (Method->isInstanceMethod()) in AddOrdinaryNameResults()
3861 return cast<ObjCMethodDecl>(D)->isInstanceMethod() in getCursorKindForDecl()
4720 M->getReturnType()->isVoidType() || M->isInstanceMethod()) in AddObjCProperties()
6955 if (M->isInstanceMethod() == WantInstanceMethods || in AddObjCMethods()
7207 if (Method->isInstanceMethod()) in GetAssumedMessageSendExprType()
7265 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
7271 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
7401 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()
8253 if (!WantInstanceMethods || M->isInstanceMethod() == *WantInstanceMethods) { in FindImplementableMethods()
[all …]
H A DSemaPseudoObject.cpp735 if ((Getter->isInstanceMethod() && !RefExpr->isClassReceiver()) || in buildGet()
796 if ((Setter->isInstanceMethod() && !RefExpr->isClassReceiver()) || in buildSet()
/netbsd/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp101 !(D->isInstanceMethod() && D->getSelector() == FinalizeSel)) in TraverseObjCMethodDecl()
H A DTransEmptyStatementsAndDealloc.cpp212 } else if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in cleanupDeallocOrFinalize()
H A DObjCMT.cpp971 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
1158 if (Method->isPropertyAccessor() || !Method->isInstanceMethod() || in migrateProperty()
1253 !OM->isInstanceMethod() || in migrateNsReturnsInnerPointer()
1296 if (OM->isInstanceMethod() || in migrateFactoryMethod()
H A DTransforms.cpp533 if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in GCRewriteFinalize()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp433 InterfD->isInstanceMethod()); in visit()
485 InterfD->isInstanceMethod()); in visit()
H A DCheckObjCDealloc.cpp979 if (!MD || !MD->isInstanceMethod() || MD->getSelector() != DeallocSel) in isInInstanceDealloc()
H A DNullabilityChecker.cpp381 if (!MD || !MD->isInstanceMethod()) in checkSelfIvarsForInvariantViolation()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h431 bool isInstanceMethod() const { return ObjCMethodDeclBits.IsInstance; } in isInstanceMethod() function
439 bool isClassMethod() const { return !isInstanceMethod(); } in isClassMethod()
1027 &ObjCMethodDecl::isInstanceMethod>;
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp600 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; in getFunctionName()
/netbsd/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h659 bool isInstanceMethod() const { return InstanceMethod; } in isInstanceMethod() function
/netbsd/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexSymbol.cpp219 Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod; in getSymbolInfo()
H A DIndexDecl.cpp78 D->isInstanceMethod()); in hasUserDefined()
H A DUSRGeneration.cpp413 Out << (D->isInstanceMethod() ? "(im)" : "(cm)") in VisitObjCMethodDecl()
/netbsd/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp418 REGISTER_MATCHER(isInstanceMethod); in RegistryMaps()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DRetainSummaryManager.cpp1283 if (MD->isInstanceMethod()) in getMethodSummary()

12