Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp90 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument
111 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
697 bool isInstance, in lookupMethod() argument
714 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
719 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
725 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
735 if ((MethodDecl = Protocol->lookupMethod(Sel, isInstance))) in lookupMethod()
822 bool isInstance, bool isVariadic, bool isPropertyAccessor, in ObjCMethodDecl() argument
832 setInstanceMethod(isInstance); in ObjCMethodDecl()
852 DeclContext *contextDecl, bool isInstance, bool isVariadic, in Create() argument
[all …]
H A DComment.cpp248 IsInstanceMethod = MD->isInstance(); in fill()
H A DDeclCXX.cpp2808 assert(isInstance() && "No 'this' for static methods!"); in getThisType()
H A DMicrosoftMangle.cpp1816 if (MD && MD->isInstance()) { in mangleTemplateArg()
H A DDecl.cpp1972 return MD->isInstance(); in isCXXInstanceMember()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetPassConfig.cpp380 if (InsertedPassID.isInstance()) in getInsertedPass()
619 assert(((!InsertedPassID.isInstance() && in insertPass()
621 (InsertedPassID.isInstance() && in insertPass()
693 return !FinalPtr.isValid() || FinalPtr.isInstance() || in isPassSubstitutedOrOverridden()
756 if (FinalPtr.isInstance()) in addPass()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCXXExpr.cpp37 assert(md->isInstance() && in commonBuildCXXMemberOrOperatorCall()
169 assert(md->isInstance() && in emitCXXOperatorMemberCallExpr()
H A DCIRGenCall.cpp384 if (md->isInstance()) { in arrangeCXXMethodDeclaration()
418 if (md->isInstance()) in arrangeFunctionDeclaration()
H A DCIRGenFunction.cpp393 cast<CXXMethodDecl>(d)->isInstance()) { in startFunction()
660 if (md && md->isInstance()) { in buildFunctionArgList()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp309 const bool isInstance = instance; in BuildMethod() local
357 ret_type, nullptr, interface_decl, isInstance, isVariadic, in BuildMethod()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetPassConfig.h66 bool isInstance() const { return IsInstance; } in isInstance() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h172 bool isInstance = true, bool isVariadic = false,
232 DeclContext *contextDecl, bool isInstance = true,
1060 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1348 ObjCMethodDecl *getCategoryMethod(Selector Sel, bool isInstance) const { in getCategoryMethod() argument
1349 return isInstance ? getCategoryInstanceMethod(Sel) in getCategoryMethod()
1838 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
2224 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
H A DDeclCXX.h2151 bool isInstance() const { return !isStatic(); } in isInstance() function
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DAttr.h122 return MethodDecl->isInstance(); in isInstanceMethod()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLambdaCapturesChecker.cpp66 if (CXXMD->isInstance()) in checkASTDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DContext.cpp466 HasThisPointer = MD->isInstance(); in getOrCreateFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHeuristicResolver.cpp502 return !MD->isInstance() || in resolveDependentMember()
H A DSemaDeclObjC.cpp4684 bool isInstance = Method->isInstanceMethod(); in checkObjCDirectMethodClashes() local
4712 if (auto *IMD = IDecl->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4716 if (auto *IMD = IDecl->getImplementation()->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4720 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
4724 if (auto *IMD = Cat->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes()
H A DSemaExprObjC.cpp1940 bool isInstance) { in LookupMethodInObjectType() argument
1944 if (ObjCMethodDecl *method = iface->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
1949 if (ObjCMethodDecl *method = iface->lookupPrivateMethod(sel, isInstance)) in LookupMethodInObjectType()
1955 if (ObjCMethodDecl *method = I->lookupMethod(sel, isInstance)) in LookupMethodInObjectType()
H A DSemaExprMember.cpp1089 if (MemberFn->isInstance()) { in BuildMemberReferenceExpr()
H A DSemaExpr.cpp2458 bool isInstance = CurMethod && CurMethod->isInstance() && in DiagnoseDependentMemberLookup() local
2477 if (isInstance) { in DiagnoseDependentMemberLookup()
5787 if (Method->isInstance()) in getVariadicCallType()
20745 cast<CXXMethodDecl>(VD)->isInstance())) in resolveDecl()
21076 if (MD->isInstance()) { in resolveDecl()
H A DSemaLookup.cpp5143 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance()) in AddKeywordsToConsumer()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp154 if (m_allow_cxx && method_decl->isInstance()) { in ScanContext()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp8019 const bool isInstance = in AddObjCClassProperty() local
8024 getter = isInstance ? class_interface_decl->lookupInstanceMethod(getter_sel) in AddObjCClassProperty()
8041 getter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8065 setter = isInstance ? class_interface_decl->lookupInstanceMethod(setter_sel) in AddObjCClassProperty()
8083 setter->setInstanceMethod(isInstance); in AddObjCClassProperty()
8180 const bool isInstance = (name[0] == '-'); in AddMethodToObjCObjectType() local
8203 objc_method_decl->setInstanceMethod(isInstance); in AddMethodToObjCObjectType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp1143 assert(MD->isInstance() && "Member function must not be static!"); in BuildMemberPointer()

12