Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp113 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
131 if (MD && MD->isInstanceMethod() && !MD->isImplicit()) in HasUserDeclaredSetterMethod()
930 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
960 isInstanceMethod())) in getCanonicalDecl()
965 isInstanceMethod())) in getCanonicalDecl()
1036 if (!isInstanceMethod()) in getMethodFamily()
1041 if (isInstanceMethod() || !getReturnType()->isVoidType()) in getMethodFamily()
1046 if (!isInstanceMethod() || !getReturnType()->isObjCIdType()) in getMethodFamily()
1085 if (isInstanceMethod()) { in getSelfType()
1098 if (isInstanceMethod()) { in getSelfType()
[all …]
H A DMangle.cpp264 OS << (MD->isInstanceMethod() ? '-' : '+') << '['; in mangleObjCMethodNameWithoutSize()
H A DComment.cpp244 IsInstanceMethod = MD->isInstanceMethod(); in fill()
H A DASTImporter.cpp3774 if (FoundMethod->isInstanceMethod() != D->isInstanceMethod()) in VisitObjCMethodDecl()
3781 << D->isInstanceMethod() << Name << D->getReturnType() in VisitObjCMethodDecl()
3785 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
3793 << D->isInstanceMethod() << Name in VisitObjCMethodDecl()
3797 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
3810 << D->isInstanceMethod() << Name in VisitObjCMethodDecl()
3823 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
3826 << D->isInstanceMethod() << Name; in VisitObjCMethodDecl()
3849 ToReturnTypeSourceInfo, DC, D->isInstanceMethod(), D->isVariadic(), in VisitObjCMethodDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp335 if (MDecl->isInstanceMethod()) in AddAnyMethodToGlobalPool()
438 IC->lookupMethod(MDecl->getSelector(), MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
490 MDecl->isInstanceMethod()); in ActOnStartOfObjCMethodDef()
1753 (PrevMethod->isInstanceMethod() == Method->isInstanceMethod()) && in DiagnoseClassExtensionDupMethods()
3412 if (!chosen->isInstanceMethod()) in isAcceptableMethodMismatch()
3519 BestMethod->isInstanceMethod() ? Pos->second.first : Pos->second.second; in AreMultipleMethodsInGlobalPool()
3903 if (Method->isInstanceMethod()) { in ActOnAtEnd()
4176 method->isInstanceMethod() ? it->second.first : it->second.second; in OverrideSearch()
4279 Method->isInstanceMethod(), in search()
4658 ObjCMethod->isInstanceMethod())) { in ActOnMethodDeclaration()
[all …]
H A DSemaExprObjC.cpp1318 if (Method->isInstanceMethod() && isClassMessage) in getBaseMessageSendResultType()
1464 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
1530 << Method->isInstanceMethod() << Method->getSelector() in EmitRelatedResultTypeNote()
1998 if (CurMethod->isInstanceMethod()) { in ActOnClassPropertyRefExpr()
2234 if (Method->isInstanceMethod()) { in ActOnSuperMessage()
2777 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), Methods)) in BuildInstanceMessage()
2838 if (Method->isInstanceMethod()) { in BuildInstanceMessage()
2848 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), in BuildInstanceMessage()
2926 SelectBestMethod(Sel, ArgsIn, Method->isInstanceMethod(), in BuildInstanceMessage()
H A DSemaCodeComplete.cpp194 if (Method->isInstanceMethod()) in ResultBuilder()
2210 if (Method->isInstanceMethod()) in AddOrdinaryNameResults()
3386 return cast<ObjCMethodDecl>(D)->isInstanceMethod() in getCursorKindForDecl()
4119 M->getReturnType()->isVoidType() || M->isInstanceMethod()) in AddObjCProperties()
5817 if (M->isInstanceMethod() == WantInstanceMethods || in AddObjCMethods()
6069 if (Method->isInstanceMethod()) in GetAssumedMessageSendExprType()
6127 CurMethod->isInstanceMethod()); in AddSuperSendCompletion()
6133 CurMethod->isInstanceMethod()))) in AddSuperSendCompletion()
6263 if (CurMethod->isInstanceMethod()) { in CodeCompleteObjCSuperMessage()
7114 if (!WantInstanceMethods || M->isInstanceMethod() == *WantInstanceMethods) { in FindImplementableMethods()
[all …]
H A DSemaPseudoObject.cpp745 if ((Getter->isInstanceMethod() && !RefExpr->isClassReceiver()) || in buildGet()
806 if ((Setter->isInstanceMethod() && !RefExpr->isClassReceiver()) || in buildSet()
H A DSemaLookup.cpp1176 if (Method->isInstanceMethod() && Name.getAsIdentifierInfo()) in CppLookupName()
3711 if (Method->isInstanceMethod()) { in LookupVisibleDecls()
4387 if (Method->isInstanceMethod() && Method->getClassInterface() && in LookupPotentialTypoResult()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp102 !(D->isInstanceMethod() && D->getSelector() == FinalizeSel)) in TraverseObjCMethodDecl()
H A DTransEmptyStatementsAndDealloc.cpp214 } else if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in cleanupDeallocOrFinalize()
H A DObjCMT.cpp970 ClassString = OM->isInstanceMethod() ? '-' : '+'; in ReplaceWithInstancetype()
1157 if (Method->isPropertyAccessor() || !Method->isInstanceMethod() || in migrateProperty()
1252 !OM->isInstanceMethod() || in migrateNsReturnsInnerPointer()
1295 if (OM->isInstanceMethod() || in migrateFactoryMethod()
H A DTransforms.cpp532 if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in GCRewriteFinalize()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp434 InterfD->isInstanceMethod()); in visit()
486 InterfD->isInstanceMethod()); in visit()
H A DCheckObjCDealloc.cpp981 if (!MD || !MD->isInstanceMethod() || MD->getSelector() != DeallocSel) in isInInstanceDealloc()
H A DNullabilityChecker.cpp380 if (!MD || !MD->isInstanceMethod()) in checkSelfIvarsForInvariantViolation()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp193 if (!method_decl->isInstanceMethod()) in ScanContext()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h604 bool isInstanceMethod() const { return InstanceMethod; } in isInstanceMethod() function
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h422 bool isInstanceMethod() const { return ObjCMethodDeclBits.IsInstance; } in isInstanceMethod() function
430 bool isClassMethod() const { return !isInstanceMethod(); } in isClassMethod()
1051 &ObjCMethodDecl::isInstanceMethod>;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/
H A DRetainSummaryManager.h720 if (MD->isInstanceMethod())
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexSymbol.cpp214 Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod; in getSymbolInfo()
H A DIndexDecl.cpp51 D->isInstanceMethod()); in hasUserDefined()
H A DUSRGeneration.cpp407 Out << (D->isInstanceMethod() ? "(im)" : "(cm)") in VisitObjCMethodDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp635 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; in getFunctionName()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1284 CompileTimeMD->isInstanceMethod()); in getRuntimeDefinition()

12