Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp113 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
131 if (MD && MD->isInstanceMethod() && !MD->isImplicit()) in HasUserDeclaredSetterMethod()
987 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
992 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
1103 if (!isInstanceMethod()) in getMethodFamily()
1108 if (isInstanceMethod() || !getReturnType()->isVoidType()) in getMethodFamily()
1113 if (!isInstanceMethod() || !getReturnType()->isObjCIdType()) in getMethodFamily()
1152 if (isInstanceMethod()) { in getSelfType()
1165 if (isInstanceMethod()) { in getSelfType()
1285 Method->isInstanceMethod(), in CollectOverriddenMethodsRecurse()
[all …]
H A DComment.cpp261 IsInstanceMethod = MD->isInstanceMethod(); in fill()
H A DODRDiagsEmitter.cpp455 if (FirstMethod->isInstanceMethod() != SecondMethod->isInstanceMethod()) { in diagnoseSubMismatchObjCMethod()
457 << FirstMethod << FirstMethod->isInstanceMethod(); in diagnoseSubMismatchObjCMethod()
459 << SecondMethod << SecondMethod->isInstanceMethod(); in diagnoseSubMismatchObjCMethod()
H A DMangle.cpp369 OS << (MD->isInstanceMethod() ? '-' : '+') << '['; in mangleObjCMethodName()
H A DASTStructuralEquivalence.cpp2136 Method1->isInstanceMethod() == Method2->isInstanceMethod() && in IsStructurallyEquivalent()
/freebsd-14.2/contrib/llvm-project/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()
1779 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
3461 if (!chosen->isInstanceMethod()) in isAcceptableMethodMismatch()
4019 if (Method->isInstanceMethod()) { in ActOnAtEnd()
4300 method->isInstanceMethod() ? it->second.first : it->second.second; in OverrideSearch()
4676 bool isInstance = Method->isInstanceMethod(); in checkObjCDirectMethodClashes()
4860 Setter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
4866 Getter->isInstanceMethod() == ObjCMethod->isInstanceMethod()) { in ActOnMethodDeclaration()
[all …]
H A DSemaExprObjC.cpp1487 if (Method->isInstanceMethod() && isClassMessage) in getBaseMessageSendResultType()
1641 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
1707 << Method->isInstanceMethod() << Method->getSelector() in EmitRelatedResultTypeNote()
2176 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
2416 if (Method->isInstanceMethod()) { in ActOnSuperMessage()
2964 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), Methods)) in BuildInstanceMessage()
3024 if (Method->isInstanceMethod()) { in BuildInstanceMessage()
3034 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), in BuildInstanceMessage()
3111 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), in BuildInstanceMessage()
H A DSemaObjCProperty.cpp1056 Decl->getReturnTypeSourceInfo(), Impl, Decl->isInstanceMethod(), in RedeclarePropertyAccessor()
1440 getterMethod->getSelector(), getterMethod->isInstanceMethod()); in ActOnPropertyImplDecl()
1504 setterMethod->getSelector(), setterMethod->isInstanceMethod()); in ActOnPropertyImplDecl()
1840 Method->isInstanceMethod()); in IvarBacksCurrentMethodAccessor()
H A DSemaCodeComplete.cpp231 if (Method->isInstanceMethod()) in ResultBuilder()
2713 if (Method->isInstanceMethod()) in AddOrdinaryNameResults()
4089 return cast<ObjCMethodDecl>(D)->isInstanceMethod() in getCursorKindForDecl()
5111 M->getReturnType()->isVoidType() || M->isInstanceMethod()) in AddObjCProperties()
7586 if (M->isInstanceMethod() == WantInstanceMethods || in AddObjCMethods()
7840 if (Method->isInstanceMethod()) in GetAssumedMessageSendExprType()
7898 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
7904 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
8035 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()
8905 if (!WantInstanceMethods || M->isInstanceMethod() == *WantInstanceMethods) { in FindImplementableMethods()
[all …]
H A DSemaPseudoObject.cpp740 if ((Getter->isInstanceMethod() && !RefExpr->isClassReceiver()) || in buildGet()
801 if ((Setter->isInstanceMethod() && !RefExpr->isClassReceiver()) || in buildSet()
/freebsd-14.2/contrib/llvm-project/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.cpp967 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
1154 if (Method->isPropertyAccessor() || !Method->isInstanceMethod() || in migrateProperty()
1249 !OM->isInstanceMethod() || in migrateNsReturnsInnerPointer()
1292 if (OM->isInstanceMethod() || in migrateFactoryMethod()
H A DTransforms.cpp531 if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in GCRewriteFinalize()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp424 InterfD->isInstanceMethod()); in visit()
473 InterfD->isInstanceMethod()); in visit()
H A DCheckObjCDealloc.cpp970 if (!MD || !MD->isInstanceMethod() || MD->getSelector() != DeallocSel) in isInInstanceDealloc()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h426 bool isInstanceMethod() const { return ObjCMethodDeclBits.IsInstance; } in isInstanceMethod() function
434 bool isClassMethod() const { return !isInstanceMethod(); } in isClassMethod()
1026 &ObjCMethodDecl::isInstanceMethod>;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h668 bool isInstanceMethod() const { return InstanceMethod; } in isInstanceMethod() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexSymbol.cpp220 Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod; in getSymbolInfo()
H A DIndexDecl.cpp82 D->isInstanceMethod()); in hasUserDefined()
H A DUSRGeneration.cpp424 Out << (D->isInstanceMethod() ? "(im)" : "(cm)") in VisitObjCMethodDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp370 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; in getFunctionName()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp1245 else if (Method->isInstanceMethod()) in getFragmentsForObjCMethod()
1464 else if (Method->isInstanceMethod()) in getSubHeading()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp211 if (!method_decl->isInstanceMethod()) in ScanContext()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp448 REGISTER_MATCHER(isInstanceMethod); in RegistryMaps()

123