Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
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.cpp4253 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
4260 << D->isInstanceMethod() << Name << D->getReturnType() in VisitObjCMethodDecl()
4264 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4272 << D->isInstanceMethod() << Name in VisitObjCMethodDecl()
4276 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4289 << D->isInstanceMethod() << Name in VisitObjCMethodDecl()
4302 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4305 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
4327 D->isInstanceMethod(), D->isVariadic(), D->isPropertyAccessor(), in VisitObjCMethodDecl()
/freebsd-13.1/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()
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()
1505 setterMethod->getSelector(), setterMethod->isInstanceMethod()); in ActOnPropertyImplDecl()
1842 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()
4723 M->getReturnType()->isVoidType() || M->isInstanceMethod()) in AddObjCProperties()
6958 if (M->isInstanceMethod() == WantInstanceMethods || in AddObjCMethods()
7210 if (Method->isInstanceMethod()) in GetAssumedMessageSendExprType()
7268 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
7274 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
7404 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()
8256 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()
/freebsd-13.1/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.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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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>;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h659 bool isInstanceMethod() const { return InstanceMethod; } in isInstanceMethod() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp371 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; in getFunctionName()
H A DRetainSummaryManager.cpp1291 if (MD->isInstanceMethod()) in getMethodSummary()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp215 if (!method_decl->isInstanceMethod()) in ScanContext()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp418 REGISTER_MATCHER(isInstanceMethod); in RegistryMaps()

12